Hi, thanks for reply. I to do the same thing but image is not displaying.I can not understand how the image in sdcard is taken in to the application.Please help on this.
On Tue, Dec 20, 2011 at 8:50 PM, Md.Fazla Rabbi OPU <[email protected] > wrote: > Actually your problem is in your * imageInSD String. *Because this string > takes the *id* of the image not the *path*. But the* *method *decodeFile > *takes > path of the image as a parameter that should be stored in sdcard.* > *So first store the image into sdcard then refer the path*. > > Change private final String imageInSD = "R.drawable.honeycomb";* > > TO > > * private final String imageInSD = "/sdcard/honeycomb.png";* > > Hope this will work. > > -- > 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 > -- 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

