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

Reply via email to