由网友(縫壹路夢來尋)分享简介:我如何可以访问这个通过code?因此,我可以自动打开它为用户和他们没有通过安全设置打猎启用它。How can I access this through code? So I can open it for the users automatically and they don't have to hunt thr...
我如何可以访问这个通过code?因此,我可以自动打开它为用户和他们没有通过安全设置打猎启用它。
How can I access this through code? So I can open it for the users automatically and they don't have to hunt through the Security settings to enable it.
我无法使用 startActivity找到它在Android的工作室(新意图(设置<>));
,其中<>是一个设置列表屏幕。
I am unable to find it in Android Studio using startActivity(new Intent(Settings.<>));
, where <> is the list of setting screens.
图片来源:Android的警察
Image courtesy of Android Police
推荐答案
有一个优秀的错误在安卓4.3,其中通知侦听器屏幕上的动作是不是在列设置
。目前的解决方法是:
There is an outstanding bug in Android 4.3 where the notification listener screen action is not listed in Settings
. The current workaround is:
startActivity(new Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS"));
相关推荐
最新文章