Record Android device screens and run operations using uiautomator2
Project description
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):
... # Here, the function does whatever you want
recorder = AndroidRecorder([handle_frame], device="mydevice123") # device name is optional
recorder.start_recording()
# The recording runs in the background
recorder.stop_recording()
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mobile_recorder-0.1.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mobile_recorder-0.1.0.tar.gz.
File metadata
- Download URL: mobile_recorder-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5ec2abdc9c7745aa75afd7f2a028093c0ac75a4ea37be1cb03b23322955a405
|
|
| MD5 |
e588a214d7b894b4e9f91de85dff8706
|
|
| BLAKE2b-256 |
0234e4f53362ad6644bba7924a6c9c9f683404b78c6f9021f22c9a53337d1924
|
File details
Details for the file mobile_recorder-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mobile_recorder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f1d25cb4a91028765b9e0f26146ec6508c8f489b0144798761b392e28f66ba4
|
|
| MD5 |
6da951b1e5aa71879de44a32ffeacd9b
|
|
| BLAKE2b-256 |
e59f3a165cb601f6fc6939a3a79723ab7ca0e6c71a234304a64f973f6fd70b0b
|