Android的意图Twitter应用 [英] Android Intent for Twitter application

查看:153
本文介绍了Android的意图Twitter应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时它可以显示应用程序的列表(以 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屋!

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