accessibilityservice

How to use AccessibilityService?

帅比萌擦擦* 提交于 2020-07-04 17:41:13
问题 I am studying AccessibilityService. I studied what is Accesibility Service and why we use it, what are advantages of Accessibility Service. So I tried to make a demo of Accessibility service to see how it works, that when a Email or any whatsapp, wechat message comes than in which method it goes But I didn't get success. As I started this project I get Exception on line StartService(i); So kindly look over this code and tell what mistake I am making, Your comment and suggestion will be so

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

核能气质少年 提交于 2020-06-03 07:33:17
问题 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. With the alert being displayed, I will still be able to perform click operations on those 4 buttons at the top of the screen. When I turn ON TalkBack (Android Accessibility Service) in Android device and click on that button, alert is getting

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

旧时模样 提交于 2020-06-03 07:29:41
问题 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. With the alert being displayed, I will still be able to perform click operations on those 4 buttons at the top of the screen. When I turn ON TalkBack (Android Accessibility Service) in Android device and click on that button, alert is getting

Android Service type floating action button with drag and drop functionality

倖福魔咒の 提交于 2020-04-30 06:30:58
问题 Anybody help me to make service type movable floating action button that displays on the screen of android device like button in Accessibility Scanner app https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.auditor&hl=en , i made button but want make it movable. here is xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk

How can I use AccessibilityService.getWindows() to obtain a traversable AccessibilityNodeInfo?

大兔子大兔子 提交于 2020-02-13 13:02:09
问题 I am writing an AccessibilityService for Android and, up to API level 20, I have been using the AccessibilityEvent.getSource() method to obtain a traversable AccessibilityNodeInfo when onAccessibilityEvent(AccessibilityEvent event) is triggered. Although the resulting AccessibilityNodeInfo does not always reflect the content of the screen, it is still possible to work with it. Starting on API level 21, the new AccessibilityService.getWindows() is supposed to be not only able to better

How can I use AccessibilityService.getWindows() to obtain a traversable AccessibilityNodeInfo?

半世苍凉 提交于 2020-02-13 13:01:06
问题 I am writing an AccessibilityService for Android and, up to API level 20, I have been using the AccessibilityEvent.getSource() method to obtain a traversable AccessibilityNodeInfo when onAccessibilityEvent(AccessibilityEvent event) is triggered. Although the resulting AccessibilityNodeInfo does not always reflect the content of the screen, it is still possible to work with it. Starting on API level 21, the new AccessibilityService.getWindows() is supposed to be not only able to better

Can a third-party accessibility service capture audio on Android 10?

时光总嘲笑我的痴心妄想 提交于 2020-01-25 06:58:04
问题 I want to build an accessibility service that can capture audio even when other applications are using the microphone (video camera, phone, voice recorder, Shazam, etc). Android 10 introduced audio sharing, but it's not clear whether third-party accessibility services can capture audio from other apps. https://developer.android.com/guide/topics/media/sharing-audio-input For the purpose of capturing audio, Android distinguishes two kinds of apps: "Ordinary" apps are installed by the user.