score:1

try this:

intent shareintent = new intent(intent.action_send);
shareintent.settype("image/jpg");
uri uri = uri.fromfile(new file(getfilesdir(), "foo.jpg"));
shareintent.putextra(intent.extra_stream, uri.tostring());
startactivity(intent.createchooser(shareintent, "share image using"));

http://developer.android.com/training/sharing/send.html


Related Query

More Query from same tag