用于 Twitter 应用程序的 Android Intent [英] Android Intent for Twitter application

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

问题描述

是否可以显示一个应用程序列表(使用 intent.createChooser),只显示我手机上的 twitter 应用程序(所以 htc peep(htc hero)或 twitdroid).我已经用 intent.settype("application/twitter") 试过了,但它没有找到任何 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.

这篇关于用于 Twitter 应用程序的 Android Intent的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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