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
0
votes
0 answers

Find a window from AXUIElementCopyAttributeValue with its windowNumber to change its position

I want to move a window with the Accessibility API. With the following snippet let options = CGWindowListOption(arrayLiteral: CGWindowListOption.excludeDesktopElements, CGWindowListOption.optionOnScreenOnly,…
mica
  • 3,898
  • 4
  • 34
  • 62
0
votes
1 answer

Android accessibility automatic scanning does not scan custom OSK

I am currently working on a on screen keyboard designed for differently abled users. Because of the use case, there are quite a few custom touch events implementation. While it is working as expected in touch mode, during a testing session using…
0
votes
0 answers

In C#, can one access and alter the windows message pump to respond to WM_GETOBJECT?

So there is a beautiful technique for acquiring a COM pointer cross-process (same machine) from an Excel.exe session if you know its Hwnd using the Accessibility API. The specific Windows API function is AccessibleObjectFromWindow; if called with…
S Meaden
  • 8,050
  • 3
  • 34
  • 65
0
votes
1 answer

Text to speech Speak api is interrupted when talkback is announcing

Context: I am working on Immersive reading of text where user can manipulate reading by clicking forward, rewind, play pause buttons. For reading text, I am using Google Text to speech engine meanwhile reading we need to highlight words which it is…
0
votes
1 answer

ObjectiveC Accessibility API: UnMaximize Window

I’m not sure if I am referring to this correctly, but when I use the word “UnMaximize”, I’m referring to: When you click on the green button which is third on the top left of a Chrome Window, it Maximizes the Window. When I use the word …
O.O.
  • 1,973
  • 6
  • 28
  • 40
0
votes
1 answer

how to get text from all the child nodes in AccessibilityNodeInfo

I'm trying to read the text from all the child nodes of an AccessiblityNodeInfo. I tried getting AccessiblityNodeInfo.getParent() and AccessibilityNodeInfo.getChildCount() for(int i=0;…
Siva
  • 1,078
  • 4
  • 18
  • 36
0
votes
1 answer

Google talkback API to get current focus item in android

My application is supporting accessibility feature and application is having both portrait and landscape mode. In my screen i have some views like button, textview, listview with custom row. The issue what i am facing is when user focus any item in…
0
votes
1 answer

AccessibilityService gets unbinded when powered off and is not rebinded after reboot

I am facing an issue with AccessibilityService. When I power off my device AccessibilityService gets unbinded by invoking onUnbind. But when I start my device again, AccessibilityService is not rebinded and onRebind service is not called. I have…
0
votes
0 answers

Accessibility service is not working properly when device booted after power off

I have used AccessibilityService on my App to automatically Force stop Apps I desire to. Everything works fine unless I power off my phone. After turning my phone on AccessibilityService doesn't work properly. It doesn't call onAccessibilityEvent…
0
votes
0 answers

Paste text into text box of another 3rd party application on Mac OSX

I am building a cocoa application on Mac. Is it possible to 1) Bring 3rd party application window to focus. 2) Position the cursor into the text box of 3rd party application window? 3) Insert text into the text box. Edit:- I tried to achieve this…
Swapnil
  • 121
  • 1
  • 4
0
votes
1 answer

Android - Accessibility - min SDK for captioning

My current project has minSDK 14 and I am trying to integrate the caption sytle provided by Android's device accessibility settings. The API that I want to integrate was introduced only from API level 19. CaptioningManager.CaptionStyle Is there a…
Raghav
  • 1,014
  • 2
  • 16
  • 34
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…
0
votes
1 answer

How does GIF keyboard capture what has been typed in android?

I recently had a chance to look at a GIF Keyboard (https://play.google.com/store/apps/details?id=com.riffsy.FBMGIFApp) It is able to figure out what has been typed after '#' in whatsapp, messenger and other platforms. I have been looking around and…
Madhavan Malolan
  • 719
  • 6
  • 24
0
votes
1 answer

Use iOS accessibility sounds programmatically

I am aware that one can programmatically use the text-to-speech synthesizer in iOS through the AVSpeechSynthesizer class. However the non-visual interaction with the iOS is based on speech as well as non-speech sound. For instance each time an app…
MrBloom
  • 91
  • 6
0
votes
1 answer

Pass data to view through Accessibility service – Android

I want to change text inside EditText within Accessibility service. My code is: @Override public void onAccessibilityEvent(AccessibilityEvent event) { final AccessibilityNodeInfo source = event.getSource(); if (source != null &…