检查应用程序是否是服务或内容提供者
我正在编写一个应用程序,将我们所有的应用程序添加到我们设备的主屏幕。我需要它来跳过仅在后台运行并且永远不会由用户“启动”的服务或内容提供程序的应用程序。
有什么想法吗?现在我正在指定应用程序,但希望使其更加自动化。
谢谢!
I am writing an application to add all our apps to the homescreen of our devices. I need it to skip the apps that are services or contentproviders that just run in the background and are never "launched" by the user.
Any ideas? Right now i am specifying the apps, but would like to have it more automated.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅此线程< /a> 有关从包管理器查找可启动
Intent
实例的信息。See this thread for information on finding launchable
Intent
instances from the package manager.