You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mobile-recorder

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobile-recorder

Record Android device screens and run operations using uiautomator2

0.1.0
pipPyPI
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts