如何自定义份额的意图Android中(这是可能的) [英] How to customize share intent in Android (which is possible)
本文介绍了如何自定义份额的意图Android中(这是可能的)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
一直以来,我认为这是不可能的自定义Android的份额意图:的如何自定义份额的意图在Android的?
All the while, I thought it is not possible to customize share intent in Android : How to customize share intent in Android?
但是,这很好地完成应用程序(及时)改变了我的看法。
But, this nicely done app (Timely) had changed my view.
我在想,他们怎么做。
- 自定义标题
- 自定义邮件正文的
-
更多
按钮 - 在图标一个水龙头将推出合适的应用程序,不再有
总是
和只有一次
按钮。
- Customized title
- Customized body message
More
button- One tap on icon will launch the right app, no longer have
Always
andJust once
button.
推荐答案
这是通过软件包管理系统
填充> queryIntentActivities(),最有可能的。
That is a custom dialog or dialog-themed activity, populated from PackageManager
via queryIntentActivities()
, most likely.
这篇关于如何自定义份额的意图Android中(这是可能的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文