Using sharing intent on android for instagram

I want to share some instagram image in my application. From facebook, twister ... I know I can do this using Share Itent But I don't know what to do. Please help me. Thanks in advance!

-2
source share
1 answer

Here is the solution using the sharing intent

This is a sample.

Intent share = new Intent(Intent.ACTION_SEND); share.setType("image/jpeg"); share.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+Environment.getExternalStorageDirectory()+"/Pictures/jusgramm.jpg")); //share.putExtra(Intent.EXTRA_STREAM,data); startActivityForResult(Intent.createChooser(share, "Share Image Via"),SHARE_PIC_REQUEST); 
+2
source

All Articles