The same old error... NullPoinerException which is strange considering
I have the correct values on the variables when I run them on the
debugger.. any suggestion?
On Aug 31, 2010, at 4:26 PM, Pedro Teixeira wrote:
Hi there...
I'm having an issue with a Bitmap which is giving me an error but any
kind of report so I can understand it..
The code is simpley this this:
- I get a image path from a bundle:
Bundle w = getIntent().getExtras();
final String thenPicPath= w.getString("oldpicpath");
- And I set it on a ImageView called returnpic:
Bitmap oldPicture = BitmapFactory.decodeFile(thenPicPath);
returnpic.setImageBitmap(oldPicture);
In the debugger the String thenPicPath reads : /sdcard/download/
7122gato.jpg
And the oldPicture Bitmap reads: android.graphics.bit...@437700c0
Everything looks fine but I get and error when setting the
imagebitmap.. any clue?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Pedro Teixeira
www.pedroteixeira.org
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en