安卓后的图像和文字的Instagram [英] Android: post image and text to Instagram

查看:177
本文介绍了安卓后的图像和文字的Instagram的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何张贴图片和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.

这篇关于安卓后的图像和文字的Instagram的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆