press_key
Simulate key presses on Android devices using specified keycodes like HOME, BACK, VOLUME, and POWER. Requires device serial number and keycode for precise control via DroidMind MCP server.
Instructions
Press a key on the device.
Common keycodes:
- 3: HOME
- 4: BACK
- 24: VOLUME UP
- 25: VOLUME DOWN
- 26: POWER
- 82: MENU
Args: serial: Device serial number keycode: Android keycode to press
Returns: The result of the key press operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
keycode | Yes | ||
serial | Yes |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from DroidMind
- capture_bugreport
- clear_app_data
- connect_device
- create_directory
- delete_file
- devicelist
- device_logcat
- device_properties
- disconnect_device
- dump_heap
- file_exists
- input_text
- install_app
- list_directory
- list_packages
- press_key
- pull_file
- push_file
- read_file
- reboot_device
- screenshot
- shell_command
- start_app
- start_intent
- stop_app
- swipe
- tap
- uninstall_app
- write_file
Related Tools
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind
- @mobile-next/mobile-mcp