简体   繁体   English

如何检测哪个应用程序在Android中设置为默认值?

[英]How to detect which application is set as default in android?

I am stuck with a problem. 我陷入了一个问题。 In the past, i set an application as default launcher on my android phone when the dialog popups up for selecting the default application and now i have forgot which application it was? 过去,当对话框弹出以选择默认应用程序时,我将应用程序设置为Android手机上的默认启动器,而现在我忘记了它是哪个应用程序?

How can i detect which application has been set as default? 如何检测哪个应用程序已设置为默认?

Any help appreciated. 任何帮助表示赞赏。

Unless your aim is to do this programattically( 除非您的目标是以编程方式进行此操作( I don't think you can 我不认为你可以 , but I could be wrong) This would be a better fit at Android Stack Exchange ,但我可能是错的)这更适合Android Stack Exchange

The easiest way will probably be to go into manage applications and find all of the home screen ones, select each of them and scroll down until you see the "Clear defaults" button. 最简单的方法可能是进入管理应用程序并找到所有主屏幕应用程序,选择每个主屏幕并向下滚动,直到看到“清除默认设置”按钮。 The one that is not greyed out is the one that is currently set for default. 未变灰的是当前默认设置的一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM