All Questions
Tagged with accessibility accessibilityservice
176
questions
30
votes
5
answers
29k
views
Detect if my accessibility service is enabled
I was wondering how could I detect if my own service is enabled. So I could check if my service is not enabled, then tell the user to enable it.
27
votes
2
answers
21k
views
How to read window content (using accessibilityService) and evoking UI using draw over other app permission in Android?
My last question about the same topic was not clear enough and was put on hold by community and later it was automatically deleted. So, I am explaining that Question in detailed manner so that ...
18
votes
2
answers
5k
views
How to get url from browser using accessibility service
I have enabled accessibility-service permission and now i want to get url from address bar.
I have tried below thing :
accessibility_service_config.xml
<accessibility-service xmlns:android="...
15
votes
7
answers
10k
views
String is read as number rather than reading it digit by digit when talk back is on in android
I have a string "9039662543", and when talk back is on, this string is read as "nine million...." in 4.3 android devices, above 4.3 devices its working fine, by reading "nine zero three...". What ...
13
votes
5
answers
8k
views
onAccessibilityEvent not called at all
I am trying to implement an AccessibilityService. I have shared my code below.
When I turn on my accessibility service from settings menu then onServiceConnected() is called but onAccessibiltyEvent() ...
13
votes
1
answer
5k
views
How to listen to taps and get views using Accessibility in Android?
I want to implement an Accessibility service in my Android app which can do the following things:
=>Get the onscreen taps/clicks across any apps.
=>Get the view which was tapped/clicked.
Initially ...
11
votes
1
answer
8k
views
Reading notifications using AccessibilityService
I've recently tried to read incoming notifications using AccessibilityService.
I know reading notifications using NotificationListenerService, but that's not what I need (for compatibility with lower ...
10
votes
0
answers
2k
views
How to open Accessibility Settings of my app programmatically?
As mentioned here I can open Android Accessibility Settings page; I know I can open my app Accessibility Settings directly with this code:
Intent intent = new Intent(android.provider.Settings....
9
votes
2
answers
6k
views
How to tell TalkBack a custom view is being used as a button
I’m using a custom view as a button on Android, which doesn't inherit from android.widget.Button. What is the best way of telling the accessibility services it's a button?
Is it enough to just call ...
8
votes
2
answers
2k
views
Accessibility service: get views you can interact with instantly (same as Voice Access)?
The goal is to obtain views that can be interacted with instantly (that can be clicked right now and something would happen). If the view is visible and clickable in general but hovered by another ...
8
votes
3
answers
4k
views
How to check if accessibility service crashed (Android Pie now displays this info in settings)?
I've found out that Android 9 now shows info if accessibility service stopped working.
That was always a pain for developers who try to leverage accessibility API.
Accessibility looks like enabled, ...
7
votes
3
answers
7k
views
Talkback is not getting enabled through adb shell
I've tried the command adb shell settings put secure enabled_accessibility_services com.android.talkback/com.google.android.marvin.talkback.TalkBackService to enable talkback from adb shell. It's ...
7
votes
2
answers
4k
views
Get view of AccessibilityNodeInfo to create overlay
I'm writing a AccessibilityService and I want to create view overlays on the views from the current activity that the accessibility service can retrieve. I have no problems to retrieve all ...
7
votes
0
answers
2k
views
Is it possible to get precise touch data from an Accessibility Event?
I am currently trying to develop an application that can capture global touch gestures to be used in research. If possible I would like to achieve this without rooting the phone, and since overlays ...
6
votes
2
answers
9k
views
How can I use AccessibilityService.getWindows() to obtain a traversable AccessibilityNodeInfo?
I am writing an AccessibilityService for Android and, up to API level 20, I have been using the AccessibilityEvent.getSource() method to obtain a traversable AccessibilityNodeInfo when ...