安卓后的图像和文字的Instagram图像、文字、安卓后、Instagram

由网友(危险大叔)分享简介:如何张贴图片和Instagram的文本?没有问题,如果我必须打开Instagram的应用程序,或者如果我通过API或其他事情。问题是,我无法找到如何:他们只拥有iphone钩,且API INCOM prensible。有人已经这样做,或者有知道吗?谢谢。How can i post an image and a te...

如何张贴图片和Instagram的文本?没有问题,如果我必须打开Instagram的应用程序,或者如果我通过API或其他事情。问题是,我无法找到如何:他们只拥有iphone钩,且API INCOM prensible。有人已经这样做,或者有知道吗?谢谢。

How can i post an image and a text to instagram? no problem if i must open the instagram app, or if i do via api or other. the problem is that i can't find how to: they have the iphone hook only, and the api is incomprensible. someone have did that, or have the know? thanks.

推荐答案

我怀疑的 Instagram的开发永远不会发布iPhone像钩子Android作为意图已经达到这个目的。

I doubt the Instagram developers will ever release iPhone like hooks for android as Intents already serve this purpose.

如果你想分享你的应用的图像使用意图是这样的:

If you want to share an image from your app use an intent like this:

Intent i = new Intent(Intent.ACTION_SEND);
i.setType("image/jpeg");
i.putExtra(Intent.EXTRA_STREAM, Uri.parse("file:///sdcard/Path/To/Image.jpg"));
startActivity(Intent.createChooser(i, "Share Image"));

请注意,这将显示dialoge允许用户选择启动哪个照片共享应用程序。

Note that this will show a dialoge allowing the user to pick which photo sharing app to launch.

阅读全文

相关推荐

最新文章