Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

3 votes
1 answer
333 views

What is the use of setTouchExplorationPassthroughRegion() in android accessibility API?

I am developing an Android application that uses accessibility-service, and I want to disable explore-by-touch when the user opens specific applications like Piano, Games, etc. I read API ...
Nalin's user avatar
  • 135
6 votes
2 answers
3k views

Accessibility Service does not restart when manually re-enabled after app force stopped

I'm having an issue with my Accessibility Service not restarting after the app is force stopped and then manually opened again, which does restart other regular services. The accessibility service ...
Flyview's user avatar
  • 1,901
1 vote
1 answer
432 views

Android accessibility service - "does not support the current system language"

I've made a simple app for Android that provides Accessibility service. When I install the app on Android 10 (Samsung) and activate the Accessibility service, OS says: APP does not support the ...
Mark Gopnik's user avatar
1 vote
0 answers
161 views

Listen AccessibilityService events from a visible app without focus

I'd like to get onAccessibilityEvent(AccessibilityEvent accessibilityEvent) triggered for a target app even if the app doesn't have the focus, for example I have another app with a dialog on top, so ...
Choletski's user avatar
  • 7,425
1 vote
0 answers
410 views

Reading text from anywhere on mobile screen with accessibility service in android without click event

I am trying to read text from anywhere on mobile screen with accessibility service. Well, I've tried many tutorials and solutions but what I want is a bit different. I have a floating button on screen ...
Mehran  Khan's user avatar
0 votes
1 answer
819 views

Android Accessibility Service: Open Accessibility Menu

With TalkBack on, a user (who is able) can swipe up and right to open the "Accessibility Menu": Now I have written an Accessibility Service, with the goal of acting on behalf of the user. ...
Quintin B's user avatar
  • 5,696
-1 votes
1 answer
384 views

Is there a way to apply color filter on whole screen using Android's Accessibility Services?

Thing is, i'm currently trying to create a tool for legally blind people (specially with Retinitis Pigmentosa). They would benefit from some kind of color invertion (A smart one). To achieve this, i ...
Muscian's user avatar
1 vote
1 answer
473 views

How to change text of text view or hide textview using accessibility?

I want to either hide the text view of another app or want to change one of the text view of other app using accessibility service. I can get AccessibilityNodeInfo of text. How can I proceed next?
stackoverflow-asker's user avatar
0 votes
1 answer
380 views

getEnabledAccessibilityServiceList returns wrong result

I'm trying to get enabled accessibility service list but the result returns wrong! My service called ( Test App ) getEnabledAccessibilityServiceList returns 2 if the Test App was off. The Image 1 But ...
Taha Sami's user avatar
  • 1,639
1 vote
1 answer
596 views

Android - TalkBack accessibility focus on swipe to delete button in Recycleview

I have drawn the Swipe to delete button(RectF) in Recycle view with the help on val oBackground = RectF(itemView.right.toFloat() - buttonWidth, itemView.top.toFloat(), itemView.right.toFloat(), ...
Gurmeet Singh's user avatar
0 votes
0 answers
175 views

How can I send a gesture from activity

I'm trying to send a gesture when I clicking on the button but nothing happens why? I made the gesture position top the button to check if that works or no. I enabled accessibility permissions. Main ...
Taha Sami's user avatar
  • 1,639
4 votes
0 answers
447 views

How can I get tapped View Elements using Android Accessibility Services?

I tried to create an Android Accessibility Service to detect all Elements in an App and show Accessibility Information like Content Description or Labeled by. At the moment I can, using the ...
Pirre's user avatar
  • 61
0 votes
0 answers
683 views

Isn't accessibility service not a context?

I googled and found that android service is a context. And if I want to use assets in non-activity class, I have to pass 'this' to that class. But it seems weird to me that if I pass 'this', it says ...
zzaebok's user avatar
  • 31
1 vote
1 answer
2k views

How do I detect back/home press in an accessibility Service?

The title pretty much sums it up. I want to detect back/home button press using an Accessibility Service. It seems that onKeyEvent is not triggered when pressing these buttons.
Paul Nitu's user avatar
  • 126
3 votes
1 answer
2k views

How to enable Accessibility service in Android management api (Work profile )?

I recently developed an app with Android Management API. This app has Accessibility service MyAccessibilityService. I granted accessibility service permission from enterprise policy from enterprises....
Ramesh Pokharel's user avatar

15 30 50 per page
1 2
3
4 5
12