mobile_recorder
A Python package to record the screen of Android devices and perform automated operations using uiautomator2.
Features
- Record Android device screen
- Run automated UI operations
Installation
pip install mobile_recorder
Requirements
- Python 3.7+
- uiautomator2
- Android device with USB debugging enabled OR an android studio emulator
Usage
from mobile_recorder import AndroidRecorder
def handle_frame(img: MatLike | Image | None):
...
recorder = AndroidRecorder([handle_frame], device="mydevice123")
recorder.start_recording()
recorder.stop_recording()
License
MIT