Hi, i'm a big newbie in developping Android application, and i just met my first issue.
I'm trying to display an image from package resources with an intent 'ACTION_VIEW'. I set the data type to 'image/*' and the data to 'android.resource://com.mypackage.test/r.drawable.toto' where toto is a jpg picture. When i run the application, a new activity is launched (activity is 'view picture' from com.android.gallery) but no picture displayed and it finally crash with a java.lang.NullPointerException. I think my reference to the resource may be false but i didn't manage to make it work. Any help would be appreciated. Ps: i apologize for my poor english skills GoSh. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en