article

Amelia@Amazon avatar image
Amelia@Amazon posted

How to Incorporate the Accessibility Changes in L into your app   

Summary

Android provides accessibility features and services for helping users navigate their devices more easily. Android application developers can take advantage of these services to make their applications more accessible. Android developers can also build their own accessibility services, which can provide enhanced usability features such as audio prompting, physical feedback, and alternative navigation modes. Accessibility services can provide these enhancements for all applications, a set of applications or just a single app. Detailed information of Accessibility and how to create Accessibility services can be found at http://developer.android.com/guide/topics/ui/accessibility/index.html.

And there are some API changes in Android 5. Please check http://developer.android.com/sdk/api_diff/21/changes.html and http://developer.android.com/sdk/api_diff/21/changes/pkg_android.accessibilityservice.html

Issue

Starting with Android 5, customized accessibility services need to be enabled by end users before AccessibilityEvents are dispatched to these services. On previous Android versions, enabling them makes the detection more efficient, but it is not required.

Resolution

In applications, explicitly prompt end users to enable the customized accessibility service at Settings -> Accessibility -> Services.

Keywords: Accessibility, Services, Usability

[KB_0025]

androidlollipop
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Article

Contributors

rossbria contributed to this article brizzlebrazzle contributed to this article