在android系统的Instagram的使用份额的意图 [英] Using share intent in android for instagram
本文介绍了在android系统的Instagram的使用份额的意图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想分享一些图像中我的应用程序Instagram的。
与Facebook,绕口令......我知道,我可以通过分享Itent做
但机智的Instagram我不知道。
请帮帮我。
在此先感谢!
I want to share some image to instagram in my app. With facebook, twister... I know, I can do it by using Share Itent But wit instagram I don't know. Please help me. Thanks in advance!
推荐答案
下面是使用份额的意图的解决方案
Here is a solution by using share intent
的这是样品的
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);
这篇关于在android系统的Instagram的使用份额的意图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文