I am looking to build an app that (with root privileges) can access the ui on another app and click buttons on the screen. I have seen this done with many of the macro apps and some "bot" apps. I know they use the 'device administrator' and i have seen some that need the 'overlay over other apps' permission. I'm not looking for a comprehensive guide, and i know i would have to use some kind of ocr software to process the ui elements. Can someone give me some pointers? Example: https://forum.xda-developers.com/showthread.php?t=2241770 Thanks for any help! Taine
How do root apps access the ui of other apps?
314 Views Asked by Taine At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in APK
- INSTALL_FAILED_DUPLICATE_PERMISSION: Package
- How to solve Execution failed for task ':generateReleaseBuildConfig'. error in a flutter project
- Does server-side content security policy exist for youtube video player API, app, mod apks and website?
- Widgets show in debug apk but are grey blocks in the release apk
- mergeDebugResources FAILED
- Can't decompile APK file properly
- How does Android handle APK apps data?
- Flutter built apk when opened in samsung phone is opening Samsung heath app
- Kivy/KivyMD convert to APK - different UI on PC and device with Android
- Android application with arguments via manifest
- Why am i getting black screen on kivy app
- In Android Studio, I am attempting to create a home page resembling the layout of Instagram's feed, where posts are displayed
- Flutter Google Play version not launching as opposed to APK with the same code
- Problem when executing the bubblewrap build command
- Touch Problem with slider on Android 12 compared to Android 8 in vuejs webapp in WebView
Related Questions in ROOT
- Cannot locally connect to MySQL
- Is it possible for `sudo` to fail temporarily with the correct password? Hacking suspected
- editing pass option in /etc/fstab with ansible
- Pyroot: TGraph TypeError: none of the 12 overloaded methods succeeded
- Status read failed Too many links on Ream me 8 pro root device
- window overlay in tkinter python with switch function
- Where is the "root" of a Visual Studio project?
- Android's Google services error, something with Magisk and Zygote SIGABRT (SIGNAL 6)
- Laravel app inside Wordpress website run on app folder and not in app/public folder?
- web.config oldsite to newsite 301, domain/root to new page AND old pages to oldpages
- How can i get root permission only for application
- How to combine Tkinter with pygame (Tkinter window -> pygame screen -> another Tkinter window)
- save files on aws ec2 with vscode
- How to move app icons using script/commands on android?
- How can I execute a sudo command in a macOS app and persist root user privileges?
Related Questions in CROSS-APPLICATION
- How to configure Detox on windows platform to run the test for react native apps on android device
- SAPUI5 - How to prevent dialog from closing when navigating to other application?
- Does setJavaScriptEnabled(false) fix Cross App Scripting Vulnerability
- Not Working corss-application activities with taskAffinity in Android 11
- Share an image with only a few specified apps in Android
- Is it possible to call an Excel add-in from VBA in Word in reasonably simple way?
- Auto click on "GO" in smartfilter bar
- How do root apps access the ui of other apps?
- how to close CrossApplicationNavigation pages from script with button
- Sharing nextcloud authentication with custom web application
- Cross application authentication IIS to sub application
- How to send string cross-app in one UWP device?
- Deserializing types from binary file into different namespace in different app (C# .NET)
- SAPUI5 routing and cross navigation
- How to debug communication between 2 independent applications ( macOS )
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I don't know how THEY do it, but one possible way is through the
inputshell command. I expect that normal programs don't have permission to use it, butadb shelldoes, and rooted programs presumably would. Usage is printed as follows:You'd do something like
as mentioned in Any way to run shell commands on android programmatically? . (I've adapted it a bit, and haven't actually tested it, so it might take some fiddling.)
Note that it doesn't let you, e.g, see where buttons are, so you'll have to know what you're doing beforehand.
You might also try
Instrumentation, as mentioned here: Android simulate key press