Android :: Seemingly Useless Debugging Environment
Feb 17, 2010
I've just started debugging my first three line long android app and I can't seem to use the debug tool like I want to. Here's my code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
int a = 1 / 0;
}
Now I expect the debugger to halt the thread and show me the line number of statement where the division by zero occurs. No, instead it shows some other method internal to the system for which I have no source. To make the matters worse, there is no exception message either. Prior to this app, I created one which would do something when a button was pressed. If any exception was raised, again no useful line number or exception message would be shown. As of right now, there is no way to debug my app. I'm using the latest SDK along with Eclipse ADT plugin and debugging on a real device (Nexus One).
View 3 Replies
Oct 4, 2010
I know very little about Android. I do have a background in developing apps for the Palm VII; it was my job, in part. But that is as far as it goes. I have a Zio and it suits me fine. I do not care about the next Android release, I just want to do what I need to do. That said, when I download from the market, I am presented with a list of things the software has access to. Location, SD Card, Passwords, email address, and the list goes on and on. I am not telling most of you anything you do not allready know.
My question is this: how are we protected from apps that are designed to take this info and use it in a nefarious manner? Again, I am not an expert. I am not paranoid, just curious. We all have PCs. We all know about virus issues, pishing scams, bots, trojans, scams, etc. Seems to me, the last thing we would accept is software that gathers copious quantities of sensitive data; we do, so it seems, accept it from developers of applications that we freely DL from the market.
View 2 Replies
View Related
Jul 8, 2010
I've tried to follow the Idiot proof guide, but that doesn't work because unrevoked no longer works after the OTA. I've tried to follow other web guides that has you place PC36IMG.zip into the root directory, hold volume down and power and boot to the HBoot thing. Well, that loads, it searches for and finds PC36, and starts to load from it through the blue progress bar. After the bar is finished, it waits a few seconds, then says "Main version is older! Update Fail! Do you want to reboot the device?" And I can not find any other way to continue. The only options I've found to root are either do this with the P36 or unrevoked, which is now not working.
View 5 Replies
View Related
Jul 7, 2010
I have a link to the Facebook app on one of my screens and whenever I open it and immediately click on "News Feed", there are posts from a matter of minutes or 1 hour ago even when I haven't opened the app for a full day or two. I am not root, using stock everything and have downloaded all of the OTA updates. My Settings > Accounts and Sync menu shows accounts only for Google and Weather, nothing for Facebook. Auto-sync data is checked but shouldn't it only do so for the accounts that are setup?
View 3 Replies
View Related
Jan 15, 2010
I've seen talk of some of the more "useless" apps for the iphone lately(Champagne bottles, bottle caps, farts, etc), and thought may be a thread on them here would be interesting, so here goes. Please list here any apps that you may have that are basically useless functionality-wise, but are gag apps, funny, strange, or even just plain stupid. Please note they have to be compatible with the Moto Droid(which is why this thread is in this subforum).
On my Droid are:
FartDroid Champagne Dildroid Spark Beavis and Butthead Soundboard Sound Grenade Tricorder
View 27 Replies
View Related
Nov 25, 2009
A new line of apps has appeared that seem to offer quick access to all sorts of things such as Amazon, banks etc. The apps do nothing more than pass you on to the target organisation's website. The apps are chargeable. Does anybody have any further info?
View 7 Replies
View Related
Aug 31, 2009
When I download the source and build it according to http://source.android.com/download, then try to build the eclipse dev evironment as described on http://source.android.com/using-eclipse, I get 100s of Java Errors when trying to build the project.
Linux is 2.6.28-15-generic #49-Ubuntu Eclipse is eclipse-java-galileo-linux-gtk.tar.gz
18# java -version java version "1.5.0_18" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02) Java HotSpot(TM) Client VM (build 1.5.0_18-b02, mixed mode, sharing) 19#
View 5 Replies
View Related
May 26, 2010
I find that the tracking on wave secure isn't really that efficient especially since it's now an app with a monthly subscription. The main reason is that the gps tracking on it is really pretty poor in accuracy and this is the main thing I use it for. So are there any alternatives with more accurate tracking on it? ( I mean google maps gives it more accurate than WS)
View 4 Replies
View Related
Oct 26, 2010
Why iPhone 4 and Android Brightness Controls Are Effectively Useless
This is a pretty interesting article and brings me to a question, how many people use auto brightness? vote in the poll! I'm gonna experiment with mine off after this lol.
View 13 Replies
View Related
Oct 4, 2009
I'd like to use python scripts as plugins for an app I'm developing. This seems to be possible by interacting with android-scripting-environment (ASE), as is done by Locale, but I haven't found any documentation about this. How you execute ASE scripts from your own app?
View 1 Replies
View Related
Sep 17, 2010
For now I've used the classic export command to set an environment variable and tried to read this variable from my test with System.getenv() function, but it doesn't seem to work. how to set and read a system variable in an Android application?
View 3 Replies
View Related
Nov 2, 2010
I am try to get the android environment setup for phone gap and I keep getting this
error when I try and create the phonegap project.
CODE:...............
I have got through the setup for the last could of days. I have also check the PATH for the android sdks and built the test android app in eclipse.
There are the path in the environment vars
CODE:...................
View 1 Replies
View Related
Jun 26, 2010
If it's sunny outside, I can't see anything on the screen of my Android device (HTC Desire). Do you have any solution to this?
View 2 Replies
View Related
Oct 14, 2010
I was just wondering if there was an Android environment that would let you run Android OS inside/alongside Windows, like Virtual PC basically, and let you have full connectivity just like if you were using your phone. I'm not sure what the utility could be right now but it sounds interesting to me.
View 5 Replies
View Related
Feb 29, 2012
Today i installed nano on my android device. it works but i have to set the following variables manually in the terminal emulator:
Code:
export=TERMINFO=/system/etc/terminfo
and
Code:
export TERM=linux
is it possible to set this variables automatically when the phone is booting?
Android Version 2.3.4
View 1 Replies
View Related
Jul 13, 2010
On my LG Ally every time I try to type into a login or password box on a website if I use a letter g or a letter s I get thrown out of the browser and into gmail or messaging. How can I disable quick launch when the browser is active? For the time being I have just removed the associations in quick launch.
View 7 Replies
View Related
Oct 13, 2009
I'm trying to make my app scriptable. Specifically, I need to expose a few Java APIs and make callbacks settable via user-written scripts. Ideally I'd like to hide some of the complexity away in a DSL, but there's no way of accomplishing what I want neatly without some form of user scripting, so I may accept another alternative if it meets my requirements. Initially I looked into Scala as that is my main language of choice, but the Scala interpreter is just a wrapper around its compiler, which I'm told won't run well if at all on the phone.
I've also tried JRuby, which worked under Cupcake. There appears to be a regression in the form of a Dalvik bug that prevents it from working under Donut, however:
http://code.google.com/p/android/issues/detail?id=4242
I've also seen the Android Scripting Environment. Am I correct in assuming that this only supports running full interpreters and not embedding scripting languages into apps?
View 4 Replies
View Related
May 21, 2010
How to add additional font in android environment? I need to make a font like LCD with pale background numbers like this:
http://www.androidfreeware.net/img2/gps_speedometer_android_1.png
View 3 Replies
View Related
Dec 3, 2009
I need to implement JNI Programming in android environment. SO if anybody knows about JNI programming in android.please let me know or if you found any useful links or information about this concept please send me .
View 2 Replies
View Related
Jun 9, 2009
Reading the sensor API (http://developer.android.com/reference/android/ hardware/SensorManager.html) The section about ACCURACY speak about calibration:
"calibration with the environment is needed"
How do it calibrate?! Is this software calibration? Phone specific calibration??
I don't see any methods to calibrate.
Using the HTC Magic the compass often give me crazy values like if I was on the magnetic pole. I feel pretty scared and hide under a tinfoil hat just in case...
So any url, doc or explanation!
View 9 Replies
View Related
Sep 20, 2010
I would like to use self defined Environment variables in my source code.
I use System.getenv() to do this and the code line looks like this. Log.d("MyTest","== MyEnv " + System.getenv("AP") + " ANDROID_ASSETS:" + System.getenv("ANDROID_ASSETS"));
Before I execute my code I define my AP variable with export: export AP="12345" and the this is my output of set command
ANDROID_ASSETS=/system/app
ANDROID_BOOTLOGO=1
ANDROID_DATA=/data
ANDROID_PROPERTY_WORKSPACE=9,32768
ANDROID_ROOT=/system
AP=12345
Then I execute my code and I get this line from logcat
D/MyTest( 5363): == MyEnv null ANDROID_ASSETS:/system/app
The value for my defined Environment variable is null. Any suggestions on why it didn't work?
View 1 Replies
View Related
Mar 25, 2010
While implementing the BluetoothChat application .apk inside G1 device, it always pops up a message:
$adb install -r /home/parveen/workspace/BluetoothChat/bin/BluetoothChat.apk
-bash: adb: command not found
I am not getting clearly why this error is popping up every time.
View 2 Replies
View Related
Mar 17, 2009
I have a problem. First my environment: -Ubuntu 8.10 -Eclipse 3.4.2/ADt 0.8 android SDk 1.1.r1
R.id.icon reference i snto showing upo. my R java file shows: Code...
Was implementing ViewHoldr/Wrapper classes when I noticed it. As you can see label show up fine
View 2 Replies
View Related
Dec 6, 2012
i am trying to look into android goldfish code and probably make some changes in it. As it is a long way to go for me i am actually unable to decide the tools that i need to set up. I come from an IDE based programming experience so am always trying to find a walk through tutorial to get goldfish kernel code in eclipse CDT to browse and code but no luck.I have followed the post source.android.com/source/building-kernels.html and built the kernel accordingly.wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source but am still not confident of my setup.
View 2 Replies
View Related
Jun 19, 2011
i read kubuntu 11.10 finally has integrated phone capabilities and is going to be heavily geared towards mobile devices URL....and development of Android execution environment for the android os that allows you tu run .apk in linux if so i think this would be full of win for kubuntu with it being the first linux distro with integrated phone capabilities and if the AEE was available that would just be the coolest phone ever
View 2 Replies
View Related
Aug 3, 2010
My phone dropped from my pocket into the toilet. It was in there for no longer than 5 seconds. I took out the battery and tried to dry everything off. In a panic I turned it back on to see if it would work. I wasn't thinking at all. It started to turn on, then the screen flickered and everything went black. I dried it out properly and it still won't turn on. I've plugged it into the charger, nothing. Is my phone now useless? My mom says will not buy me another phone until the contract is up, in over a year. Is there anything I can do? Or did I completely screw myself?
If my phone is gone, can I still save my contacts and/or pictures?
View 11 Replies
View Related
Nov 16, 2009
I'm building an Android application and would like to maintain a few environment variables that I can tweak depending on whether I'm in development mode or release mode. For example, I need to invoke a web service and the URL will be slightly different in either mode. I'd like to externalize this and other settings so I can change them easily based on my target deployment. Distinguishing development mode and release mode environment settings on Android. Are there any best practices or anything in the SDK to assist with this need?
View 3 Replies
View Related
Jan 14, 2010
Downloaded ASE from Google code, and was looking through tutorials, and available scripts. I found a script I wanted to try, however copy pasting it is removing all whitespace (and this is a Python script. Is there a simple way to download a script from the Internet into the Android Scripting Environment?
View 1 Replies
View Related
Sep 20, 2010
Looking at the example code in the docs
http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir%28java.lang.String%29
File path = getExternalFilesDir(Environment.DIRECTORY_PICTURES);
It does not compile on 2.1. The static fields DIRECTORY_PICTURES, DIRECTORY_MUSIC etc. Don't seem to be found. Using the filter api checkbox, I see that it was removed in Android 2.2 (or api version 8). So the manifest file needs to contain minSdk defined as 7.
View 1 Replies
View Related
Sep 24, 2010
Can you please tell me if we can still compile froyo source on Mac OS X 10.5? Is it true that we need a 64 bit environment and Java 6 in order to compile froyo source?
I don't think 10.5 is 64 bits and has Java6.
View 2 Replies
View Related