Questions tagged [accessibilityservice]

An Android service which runs in the background and receives callbacks by the system when accessibility events are fired.

543 questions
0
votes
1 answer

How to get supported locals (language translations) for a given voice by talkback in Android

I want to display list of languages which can be spoken by talkback. When I searched I found a way to get available voices by receiving broadcast with extra RecognizerIntent.EXTRA_SUPPORTED_LANGUAGES. but here I want to know for a given voice say…
0
votes
1 answer

AccessibilityService does not start on Android 4.0.4

I am trying to start my accessibility service on android 4.0.4 but not able to start. it works fine on 2.3.3. But no luck for updated version. I have tried this suggestion.AccessibilityService is started but does not receive AccessibilityEvents on…
0
votes
0 answers

android:canRequestEnhancedWebAccessibility

I have an Accessibility Service which listens to UI events from installed apps in an emulator. These events are can be when a user enters text in a text box or clicks on a button, etc. I can capture these events if the control is not part of a…
stamhaney
  • 1,246
  • 9
  • 18
0
votes
1 answer

AccessibilityService: Query all current notifications?

With the new NotificationListenerService introduced in 4.3, it's possible to query all currenty active notifications using NotificationListenerService.getActiveNotifications(). Is something similar possible with the AccessibilityService? I wouldn't…
Nick
  • 3,504
  • 2
  • 39
  • 78
0
votes
1 answer

Accessibility service notification removed

Is there anyway to know what notification have been removed? When I call this code: @Override public void onServiceConnected() { AccessibilityServiceInfo info = new AccessibilityServiceInfo(); info.eventTypes =…
0
votes
2 answers

Get Intent from notification in AccessibilityService

In my app I use an AccessibilityService to get all notifications. That works great but how can I get the intent which is started if the user click on the notification?
Cilenco
  • 6,951
  • 17
  • 72
  • 152
0
votes
0 answers

Some system notifications are not registering under AccesibilityService

Like many others I want my app to detect notifications as my app needs to hide for each notification. Most status bar notifications arrives fine. But 2 of the system notifications won't register : The Wifi available that's showing each time the…
Rock_Artist
  • 555
  • 8
  • 14
-1
votes
1 answer

Touch on view behind fullscreen overlay

How i can perform AccessibilityNodeInfo.ACTION_CLICK or dispatchGesture to a view that is behind fullscreen overlay touchable? this is possible with AccessibilityService? the goal is use the overlay to prevent user touch on screen, but without…
-1
votes
1 answer

How to do heavy processing in a background thread immediately?

I am developing an Android app which uses the accessibility service. It has some processing which needs to be executed immediately. But this process freezes the main thread and leads to the app not responding. So, I used kotlin coroutines to do the…
-1
votes
1 answer

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 thought of applying some color matrices over the…
-1
votes
1 answer

android startActivity not starting activity in accessibility service

I want to start an a third part activity when my Accessibility Service is connected. So I'm writing the below code in onServiceConnected() method @Override public void onServiceConnected(ComponentName className, …
Vishal Afre
  • 1,013
  • 3
  • 12
  • 39
-1
votes
1 answer

onAccessibilityEvent(AccessibilityEvent event)->event.getText() Identifying hint and user text

public void onAccessibilityEvent(AccessibilityEvent event) { case AccessibilityEvent.CONTENT_CHANGE_TYPE_SUBTREE: String text = event.getText().toString(); } The current code even return the hint in the event.getText(), How…
surya
  • 607
  • 5
  • 18
-1
votes
3 answers

How to focus Buttons (or other widgets) with TalkBack turned ON in Android Device?

I'm implementing Accessibility in my application. Here's the scenario : I have 4 buttons arranged horizontally at the very top of the screen (Activity). On the click of a button, I'm launching an Alert Dialog which displays something to the user.…
Rakesh
  • 1,205
  • 1
  • 14
  • 33
-1
votes
1 answer

Read content of another app through my app

I have been searching the same problem for days. But unable to get any hint for that. I need to create an app like voodoo app, which shows its custom layout only on specific pages of different apps like flipkart,etc. Now, till this time, i have…
-2
votes
1 answer

Android Keylogger /System.out: [chmod, 7777, /sytem/xbin/su],null,null permission denied ,cannot locate 'su' file

Help me to resolve this problem my device is not rooted and i want to implement a keylogger in my device but i'm facing this error from a week, permission denied and su null error this is my code snipet: Log.d("MainActivity",…
X-Haroon-X
  • 45
  • 1
  • 3
1 2 3
36
37