Android的意图Twitter应用 [英] Android Intent for Twitter application
问题描述
时它可以显示应用程序的列表(以 intent.createChooser
)只显示我的Twitter的应用服务在我的手机(HTC这样偷看(HTC Hero的)或twitdroid)。我曾试图与 intent.settype(应用程序/微博)
,但它没有找到任何Twitter的应用程序,只显示我的电子邮件应用程序。
Is it possible to show a list of applications (with intent.createChooser
) that only show me my twitter apps on my phone (so htc peep (htc hero) or twitdroid). I have tried it with intent.settype("application/twitter")
but it doesnt find any apps for twitter and only shows my mail apps.
感谢您,
沃特
推荐答案
这是完全有可能的用户将只,现在和将来,只是要张贴到Twitter。
It is entirely possible your users will only ever, now and forever, only want to post to Twitter.
我会认为它更可能是你的用户要发送的信息的人,而Twitter是一种可能性。但是,他们也可能需要发送一条短信,或电子邮件等。
I would think that it is more likely that your users want to send information to people, and Twitter is one possibility. But, they might also want to send a text message, or an email, etc.
在这种情况下,使用 ACTION_SEND
,所描述的此处。 Twidroid,值得注意的是,支持 ACTION_SEND
,所以它会出现在可用交付机制的列表。
In that case, use ACTION_SEND
, as described here. Twidroid, notably, supports ACTION_SEND
, so it will appear in the list of available delivery mechanisms.
这篇关于Android的意图Twitter应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!