An Android service which runs in the background and receives callbacks by the system when accessibility events are fired.
Questions tagged [accessibilityservice]
543 questions
0
votes
2 answers
event.source() returns null in android
I'm implementing pasting clipboard text to another application's EditText view when activity change is detected by using accessibility service.
on my Accessibility Service, accessibility event detection works well. but when onAccessibilityEvent is…

Princeps
- 3
- 3
0
votes
2 answers
Change serviceInfo packages dynamically for Accessibility Service
I'm developing an app that launches over other apps. Currently I'm using an AccessibilityService with setServiceInfo to listen to window changes, for specific package names, but I'm unable to change these package names dynamically.
private void…

Chris Rohit Brendan
- 893
- 1
- 9
- 20
0
votes
1 answer
Unable to input "enter" key event from within my app android
I want to input "enter" key event programmatically from within my app.
I have tried it using abd shell command as well as using AccessibilityService, but found no luck in it.
Similar question was asked here as well
Below is my code which I used to…

Wazz
- 1
- 1
0
votes
1 answer
Unable to send values from Local BroadcastManager to activity
Here i'm calling USSD code and then i'm trying to read that corresponding response by extending AccessibilityService. This process is working fine.
But my problem is when i'm trying to transfer that corresponding data (or value) using LocalBroadCast…

manick k
- 25
- 10
0
votes
1 answer
Qt Quick Android : How to integrate an Accessibility Service
I'm working on an Android application which runs an accessibility service. I have developed the service java class and configuration xml files in Android Studio to test it as native app. When I run it, the accessibility service appears in the…

Julien Chevet
- 513
- 5
- 12
0
votes
0 answers
Get a Service context from a normal class
I have three classes:
MyPlugin extends OtherPluginClass extends Service
MyService extends AccesibilityService
LoggerClass implements BaseLoggerClass
MyService starts when the user authorizes it in Accessibility settings. MyPlugin is started and…

Julio Vga
- 143
- 1
- 7
0
votes
2 answers
How i put my App on top of Accessibility Permission List Android OS?
Hey Guys!
I'm building an app that uses accessibility permission, i ask user on runtime to give this permission as per Android Developers guidelines.
But my app is shown always at the bottom of the list of Accessibility Permision Settings Screen,…

Jayant Arora
- 1,241
- 2
- 15
- 24
0
votes
2 answers
Is possible remove an overlay with WindowManager when press back or home button in android?
I'm trying to find some answer to my question in the site but I don't found anything, and I'm not sure if is possible remove or hide the overlay with windowManager when press back or home button.
This is that I have now. I put an overlay using…

S.P.
- 2,274
- 4
- 26
- 57
0
votes
1 answer
NullPointerException in android.view.accessibility.CaptioningManager$1.onChange
I've seen strange crash reports from my app.
android.view.accessibility.CaptioningManager$1.onChange (CaptioningManager.java:226)
android.database.ContentObserver.onChange (ContentObserver.java:145)
com.android.internal.os.ZygoteInit.main…

Artem Mostyaev
- 3,874
- 10
- 53
- 60
0
votes
1 answer
Fetching all apps from the notification bar android
I have a requirement to fetch all the app notifications which already exists in the notification bar. For this purpose am using the NotificationListenerService along with the BroadcastReceiver to get the certain parameters like…

Chandru
- 5,954
- 11
- 45
- 85
0
votes
2 answers
Android AccessibilityService Event not received ONLY in KitKat (4.4)
I have created Accessibility service in Android and it works perfectly on 4.2 (Jelly Bean) and 5.1 (Lollipop) but not on 4.4 (KitKat).
On KitKat, it doesn't receive ANY events and doesn't call onAccessibilityEvent at all.
Am I doing something…

ᴛʜᴇᴘᴀᴛᴇʟ
- 4,466
- 5
- 39
- 73
0
votes
1 answer
Prevent onAccessibilityEvent(AccessibilityEvent event) goes in an infinite loop
I've got an AccessibilityEvent which can stop app automatically. But when starting app info intent, it goes to infinite loop of turn on/off alert dialog.
How can I prevent it ? Here's the code:
@Override
public void…

Chris Maverick
- 928
- 1
- 8
- 18
0
votes
0 answers
Android Dialogbox Accessibility is reading text from top to bottom, ignoring contentDescription of views
I have an alert dialog box with custom view. I am setting contentDescription in JAVA for some TextView present in custom view.
One of the content is number 239483.
I am setting contentDescription, converting above number to digit in english.
Now,…

codebased
- 6,945
- 9
- 50
- 84
0
votes
2 answers
Android Accessibility Service Event handling
I am sticking at the following problem:
I want to react on AccessibilityEvents in the Android Settings.
For example I want to do a specific action when the user taps on Location.
The problem occurs when I switch the language of the device. Then it…

Alex
- 459
- 3
- 14
0
votes
2 answers
Get share content through accessibility in android app
I have an android app, which lets people share content from other apps to it. When it receives the shared data, it looks for the URL in the shared text and fetches the page and does processing on the data fetched. This is designed with specific…

Sriram
- 8,574
- 4
- 21
- 30