Questions tagged [accessibilityservice]
An Android service which runs in the background and receives callbacks by the system when accessibility events are fired.
accessibilityservice
563
questions
0
votes
0
answers
12
views
I am trying to build an android app that logs data from TV using AccessibiltyService and Foreground Service but it gives data only when i'ts visible
I want to make an Android app in Android Studio which keeps running in the background and collects all data from accessibilty service. It works when the app is visible but not when i press the home ...
1
vote
0
answers
20
views
Building Accessibility Service for responding to USSD
I am trying to make accessibility services class for the following tasks in my app:
Sending request (eg. *121#)
Read response
Find a string inside the response
There will be a number before the ...
0
votes
0
answers
15
views
Calling a function from Accessibility Service Activity
I have two activities, 1 being a Service Activity and the other a regular Activity. I have a function in the Service Activity(Button Service) called doAction() and I need it to be called in my regular ...
0
votes
1
answer
59
views
Accessibility Service in android tv app disabled automatically (showing enabled in right side on detail view &in left side at app name it showing off)
I have created android tv app by using custom accessibility service. I am using it to listen "HOME" button key event to launch my app (when user presses "HOME" button on d-pad). ...
0
votes
0
answers
71
views
How do I add custom accessibility actions to android web view
Context
I have a setup with a title (text view), some web content (web view) and a footer (button). When talk back is enabled, the user can use standard Swipe left -> next item and swipe right -&...
0
votes
0
answers
33
views
Android OS 14 - Device is locked > Device is not waking up when injected event through the Accessibility service
I'm developing a private app where I'm using the Accessibility service to inject the various events remotely. One of the events is 'GLOBAL_ACTION_LOCK_SCREEN'. Using this event, a screen is getting ...
0
votes
0
answers
51
views
how to use startActivityForResult or registerForActivityResult method in AccessibilityService?
I want to run an activity from inside the AccessibilityService and wait for the result. But it does not know the registerForActivityResult or startActivityForResult methods.
What solution do you ...
0
votes
0
answers
32
views
Android studio Accessibility service network request not working when outside the MainActivity application context
I have registered an accessibility service in my Android application and attempted to add a floating button to collect some data and send it to the backend for processing while outside of my app ...
0
votes
0
answers
150
views
How to get the source app who launched ShareSheet in Android 14
I have an Application which displays data sent from other applications. My Application can be launched from a Chooser (ShareSheet) if multiple Apps are installed on the phone that can view that file. ...
1
vote
0
answers
110
views
Android OS 13 - Grant MediaProjection permission using Accessibility service
I'm working on a app which is a private app i.e. it won't be published on the Google Play Store.
I'm using Android OS 13 device. My app have a screen casting functionality. To use this functionality, ...
0
votes
0
answers
22
views
Android app with accessibility service; should I use a boot receiver?
In my Android application, I use the accessibility service for certain tasks. My question is, will the service be started automatically after the phone reboot, or should I use the broadcast receiver, ...
0
votes
1
answer
50
views
How to get all content from active window using AccessibilityService
How can i get all content from screen when i update window? is this possible?
Means when i open and close any application, also home screen of device i want to get all text from active window.
<?...
1
vote
1
answer
84
views
Android Accessibility app is not performing swipe gesture
I've been working on creating an Android app that can do a swipe-up gesture on the screen every 5 seconds. The idea is to make it scroll any app which is open such as reels on Instagram, or Facebook ...
0
votes
0
answers
37
views
Access Accessibility service api in android through react native
I am currently working on a app in which I need to create a feature that can open a different app and read it's screen and extract the data from that app screen.
Codebase is in react native of my app ...
0
votes
0
answers
22
views
Trying to adjust screen brightness in the Android system is causing permission issues
I'm trying to adjust the screen brightness on the Android system (Android set-top box, Android TV), but it's not working. I tried using , but it didn't work. I found out that it's possible to adjust ...