Sorry for repeated question. I searched a lot on the Internet, got a lot of links too. But none of it worked correctly.
I've an Image in a drawable folder. Wanted to share t via apps like Gmail, Messaging etc. How's it possible? I used the following code:
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("android.resource://" + getPackageName() + "/" + R.drawable.myImage));
But this stop the "com.android.mms" what to do?
Also, is any permission required to be added? Or am I missing out anything? Does this sharing work on Android 2.2, cause I'm testing on it?