在Android应用程序Twitter的集成
问题描述:
我想微博融入我的Android应用程序,这样我可以发布消息到Twitter。
I would like to integrate Twitter into my Android application so that I can post messages to Twitter.
答
除了D的坚实的选择,你可以:
In addition to d.'s solid choices, you could:
- 使用
ACTION_SEND
意图
与createChooser()
,如果用户已经安装(Twidroid)一个Twitter的应用程序,他们可以用它来更新自己的状态 - 使用现有的Twitter的Java API,如JTwitter
- Use
ACTION_SEND
Intents
withcreateChooser()
, and if the user has a Twitter application installed (Twidroid) they can use it to update their status - Use an existing Twitter Java API, like JTwitter