来自 Android 应用程序的简单推文
如何从应用程序设置简单的推文。必须通过 Twitter 网站登录。 用户甚至必须填写任何文本。我只需要发推文。请提供并举例。
How do I setup simple a Tweet from an app. Login must be through the twitter website.
The user even have to fill in any text. I just need to tweet. Please provide and example.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下代码应该对您有帮助:
这实际上是通用共享代码。它将获取所有可以处理发送操作的应用程序(如 facebook、twitter、电子邮件等),并让用户选择要使用的应用程序。这是您在 Android 应用程序的“共享”按钮中常见的功能类型。
The following code should help you:
This is actually generic sharing code. It will get all the application that can handle a Send Action (like facebook, twitter, e-mail, etc.) and let the user choose what application to use. This is the type of functionality you commonly see in a "share" button on an android app.