【问题标题】:Share image to twitter in Android without native app在没有本机应用程序的情况下在 Android 中将图像分享到 Twitter
【发布时间】:2015-12-28 19:45:55
【问题描述】:

我想在没有本机应用程序的情况下将图像和文本分享到 twitter。我已经安装了 twitter 推荐的 Fabric 插件并使用此代码进行分享:

TweetComposer.Builder builder = new TweetComposer.Builder(this)
 .text("just setting up my Fabric.")
 .image(myImageUri);
builder.show();

In the event that the Twitter app is not installed, TweetComposer will create an intent to interact with the Twitter.com in a browser. The browser ignores a specified image. 如果没有安装原生应用,是否可以发送图像?

【问题讨论】:

标签: android twitter


【解决方案1】:

经过多次搜索,我最终为此选择了 Twitter4j 库。

另外this 教程也很有帮助。

【讨论】:

  • 感谢您的教程。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-02-05
  • 1970-01-01
  • 1970-01-01
  • 2013-05-15
  • 1970-01-01
  • 2018-12-29
  • 1970-01-01
相关资源
最近更新 更多