DroidRun Portal App
Understanding the DroidRun Portal App and its role in the DroidRun framework
The DroidRun Portal App is a critical component of the DroidRun framework that runs directly on your Android device. It acts as a bridge between the DroidRun framework running on your computer and the Android operating system.
π What is the DroidRun Portal App?
The DroidRun Portal App is an Android application that:
- Extracts the current UI state of your Android device
- Communicates this information to the DroidRun framework via ADB
- Executes commands sent from the DroidRun framework
- Provides visual feedback about identified UI elements
π How It Works
The Portal App utilizes Androidβs Accessibility Services to:
- Monitor UI changes on your device
- Identify interactive elements (buttons, text fields, etc.)
- Extract text, element positions, and other UI metadata
This information is communicated to the DroidRun framework running on your computer via ADB (Android Debug Bridge), allowing the LLM agent to understand whatβs on the screen and make informed decisions about how to complete tasks.
Element Highlighting
You can enable/disable visual highlighting of detected UI elements:
- Rectangle Overlay: Draws colored rectangles around UI elements
- Element Labels: Shows element IDs or descriptions
These visual indicators help you understand:
- Which elements DroidRun can βseeβ
- How elements are being categorized
- What information is being sent to the LLM agent
π Privacy and Security
The DroidRun Portal App:
- Only communicates with the DroidRun framework via ADB
- Does not send data to any external servers
- Only activates when being used by the DroidRun framework
- Can be easily disabled through Android settings when not in use
π Installation
The DroidRun Portal App is available from the DroidRun Portal repository. For installation instructions, see the Quickstart guide.
π§ Troubleshooting
Common Issues
- App Not Detecting UI Elements: Ensure the Accessibility Service is enabled
- Highlighting Not Visible: Check if visual debugging is enabled in the app settings
- Communication Errors: Make sure ADB is properly configured and your device is connected