I Inman Well-Known Member Licensed User Longtime User Mar 16, 2018 #1 I am trying to build an app that can click a particular button on another app. This is possible from Android 4.3+ using findAccessibilityNodeInfosByViewId which is part of Accessibility service. For example there is a very popular app called Greenify on Play Store that prevents other apps from running in the background by clicking "Force Stop" button of each running app. Here is a code I found on Stackoverflow that explains how to do this. https://stackoverflow.com/a/26687754 Could you please translate it to B4A?
I am trying to build an app that can click a particular button on another app. This is possible from Android 4.3+ using findAccessibilityNodeInfosByViewId which is part of Accessibility service. For example there is a very popular app called Greenify on Play Store that prevents other apps from running in the background by clicking "Force Stop" button of each running app. Here is a code I found on Stackoverflow that explains how to do this. https://stackoverflow.com/a/26687754 Could you please translate it to B4A?
Erel B4X founder Staff member Licensed User Longtime User Mar 16, 2018 #2 There is currently no library that implements the accessibility service. I don't think that it will be too difficult to create one. Upvote 0
There is currently no library that implements the accessibility service. I don't think that it will be too difficult to create one.
I Inman Well-Known Member Licensed User Longtime User Mar 16, 2018 #3 Thanks Erel. I hope someone with good Java knowledge will be kind enough to create a B4A library for Accessibility. The feature has been available for nearly 5 years on Android system. Upvote 0
Thanks Erel. I hope someone with good Java knowledge will be kind enough to create a B4A library for Accessibility. The feature has been available for nearly 5 years on Android system.