I\'m trying to take an image, optimize it as a 65% jpeg and save it to the phones storage. The code below is working fine for me on my nexus one, but is returning a null pointer exception on the last
I keep getting NullPointerException errors when I try to populate an ImageSwitcher with a resource. It is called using a WeakReference from within an AsyncTask, during the onPreExecute():
I think my rsort() method should work right I always get an exception: In Thread \"main\": java.lang.NullPointerExeception
this is the first time that I\'ve posted but I tried to follow the guidelines and checked previous questions etc so any help on this would be much appreciated.
My activity crashes whenever I hit back or home button, it happens when calling onPause method. I think it has to do something with the cursor but it shouldn\'t since application manages it.
I\'ve just recently started getting an error any time I interact with the Android SDK and AVD Manager in Eclipse Helios
I am getting a java.lang.NullPointerException error on line 41 (setText) when I execute the following code.
I\'ve got an app that records audio. i\'m trying to get the filenames that are stored on the sd card so i can put them in a listview. i know that it\'s probably not best practice to save file at the r
i used before arraylist as structurebut in this piece of code it doesnt works. Can someone help mesince i cant find the error ? (i am sure it smy mistake but the IDE says nothing)
Running Java app开发者_运维百科lication on IBM WebSphere caused such exception: Caused by: java.lang.NullPointerException