如何引导用户启用无障碍服务我的应用程序 [英] How to direct users for enabling accessibility service for my app
问题描述
我知道这是不可能的编程方式启用应用程序辅助功能服务,所以我想将用户定向到这个画面:系统设置
- > 辅助功能
- > 应用程序名称
- > 启用/禁用屏幕
。
这可能吗?
I know It's impossible to enable the Accessibility service for apps programmatically, so I'd like to direct users to this screen:
System settings
--> Accessibility
--> app name
--> enable/disable screen
.
Is that possible ?
推荐答案
您可以让他们在大多数设备辅助屏幕<一个href=\"http://developer.android.com/reference/android/provider/Settings.html#ACTION_ACCESSIBILITY_SETTINGS\">using ACTION_ACCESSIBILITY_SETTINGS
。但是:
You can get them to the Accessibility screen on most devices using ACTION_ACCESSIBILITY_SETTINGS
. However:
-
这可能无法在所有的设备上工作,所以你会只想送他们到设置作为后备,如果你得到一个
ActivityNotFoundException
有没有办法让他们直接到任何给定的应用,更不用说启用/禁用屏幕
there is no way to get them straight to any given app, let alone the enable/disable screen
这篇关于如何引导用户启用无障碍服务我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!