Questions tagged [accessibility-api]

The classes in this package are used for development of accessibility service that provide alternative or augmented feedback to the user.They may be useful in developing applications that may help people who need alternatives to use Android phones. eg : due to physical incapabilities.

114 questions
1
vote
1 answer

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(), itemView.bottom.toFloat()) paint.color =…
1
vote
0 answers

Call to AXIsProcessTrustedWithOptions does not work after change setting value

I am testing accessibility permissions using AXIsProcessTrustedWithOptions. When app starts, value is correctly returned. However if I change the setting in System Preferences -> Security & Privacy while app is running call to API is still returning…
RuLoViC
  • 825
  • 7
  • 23
1
vote
0 answers

Perform click,swipe,fling similar to GestureDescription below 24?

Use case is I need to perform some interaction like click,swipe etc on another app on foreground from my accessibilty service.I am able to achieve this using GestureDescription which was added in Android Noughat. How to achieve this for previous…
1
vote
1 answer

Accessibilty Service is not started

I have an accessibility service that i use to track some app usages and let user know. Everything was working fine. Not sure suddenly my accessibility service stopped working. Its not even getting started. Permission is granted. But still the…
1
vote
1 answer

onServiceConnected is not getting called after enabling accessibility

I have two app - MyApplication and FirstApp. There's is a button in MyApplicaton on click of which I am navigated to FirstApp. Now, I want to read the contents of FirstApp using AccessibilityService. My code goes like this for…
Aayushi
  • 1,736
  • 1
  • 26
  • 48
1
vote
0 answers

announceForAccessibility doesn't work without Handler().postDelayed

I have an EditText for user to input email and a TextView to show error but default is hidden and finally a submit button on the screen. We can't display error message using TextInputLayout because of the requirement coming from design. What happen…
user1865027
  • 3,505
  • 6
  • 33
  • 71
1
vote
0 answers

Where do I find documentation for the NSAccessibility protocol

The client side documentation for the protocol is found https://developer.apple.com/documentation/appkit/nsaccessibility#relationships (more precisely, the Swift API that must be implemented) but I can't seem to find any information on how one would…
Clearer
  • 2,166
  • 23
  • 38
1
vote
0 answers

Enable OS X accessibility API with Java?

Its possible to Enable Accessibility API for a software developed with JavaFX? Obs: I want to record keyboard input text.
Marckaraujo
  • 7,422
  • 11
  • 59
  • 97
1
vote
1 answer

Using Accessibility API to find out the size and the origin for the Browser Window in a NPAPI plugin

I've been making a plugin for browsers (Safari, Chrome, firefox) in MacOSX What I try to do is using Accessibility API to find out the size and the origin for the Browser Window in my NPAPI plugin. In Chrome, I can get what I want but In Safari, got…
neochoon
  • 21
  • 4
1
vote
1 answer

AppSandboxing - Accessibility / AXUIElement

I thinking about sharing my first cocoa app with other people, and I really wanted it to be through Mac App Store. My app is using Application Services (AXUIElements) and it is working fine while the sandbox is off - as soon as I turn it on a simple…
mdmb
  • 4,833
  • 7
  • 42
  • 90
1
vote
0 answers

TYPE_WINDOWS_CHANGED accessibility service

In lollipop there is a new accessibility event called TYPE_WINDOWS_CHANGED but when I use it in my xml configuration file, I receive error from Android Studio. It it possible to add it only via code? Am I missing something?
greywolf82
  • 21,813
  • 18
  • 54
  • 108
1
vote
0 answers

What does AccessibilityManager.interrupt() exactly do?

As it often happens in Android Developer "Documentation", the description of this function is ridiculously vague: http://developer.android.com/reference/android/view/accessibility/AccessibilityManager.html#interrupt() Requests feedback interruption…
matteo
  • 2,934
  • 7
  • 44
  • 59
1
vote
0 answers

How to detect if the access to oleacc.dll is failed

I have an application that will use oleacc.dll to grab the other running windows application text. In my client I have found the case, the access to oleacc.dll is denied or failed and my application could not grab the running application text. I do…
Prakash
  • 422
  • 1
  • 12
  • 31
1
vote
0 answers

Cocoa Accessibility : Parent does not report element as one of its children

I'm developing a UI app for the Mac OS. I was just using the Accessibility Inspector that comes with OSX when I saw this following error : "Parent does not report element as one of its children" Which I can understand because my cursor was over a…
Matthieu Riegler
  • 31,918
  • 20
  • 95
  • 134
1
vote
1 answer

Observing AXUIelement's children changes?

Is it possible to receive notifications if, for a specific parent AXUIelement, any of it's children change (an attributes), or a child is added/removed?
user429620