Accessibility
- Accessibility Service
-
This is an example of an accessibility service that provides custom feedback for the Clock
application which comes by default with Android devices. It is a hands-on example of various
ways to utilize the accessibility API for providing alternative and complementary feedback.
The sample demonstrates how to provide application specific feedback — the service
handles only accessibility events from the Clock application. Further, the sample demonstrates
how to provide dynamic, context-dependent feedback — feedback type changes depending on
the ringer mode.
- Window Querying Accessibility Service
-
Demonstrates several new accessibility features in Ice Cream Sandwich,
including the ability for an AccessibilityService to traverse the view
hierarchy using AccessibilityNodeInfo objects, service configuration via
xml files, and adding additional information to AccessibilityEvents using
AccessibilityRecords.
- Custom View Accessibility
- Demonstrates how to implement accessibility support of custom views. Custom view
is a tailored widget developed by extending the base classes in the android.view
package. This sample shows how to implement the accessibility behavior via both
inheritance (non backwards compatible) and composition (backwards compatible).