Sample of AccessibilityService using Jetpack Compose overlay to interactable UI elements on Android device.
-
How to create a lifecycle aware Android Service/AccessibilityService ( see ComponentAccessibilityService.kt) .
-
How to display Jetpack Compose overlay in AccessibilityService ( see BoundingOverlayService.kt) .
-
How to traverse semantic trees to query interactable ui elements ( see AccessibilityNodeInfo.kt) .
- Install app via Android Studio (of course).
- Go to
Settings > Accessibility > Bounding overlay service
and start service. - Enjoy.
Preview 1 | Preview 2 |
---|---|