Type text
adb_textType text into the focused input field on Android devices and TV boxes over ADB. ASCII uses input text; non-ASCII needs the ADBKeyBoard IME installed.
Instructions
Type text into the focused input field. Focus the field first; on a TV box, DPAD_CENTER on the field opens the keyboard. For single keys (ENTER, BACK) use adb_key. ASCII goes through input text; non-ASCII (Cyrillic, emoji, CJK) is sent via the ADBKeyBoard IME, which must be installed on the device (github.com/senzhk/ADBKeyBoard): the current keyboard is switched to it and restored afterwards. The response reports only the character count, never the text itself. Never retry a wrong password or PIN: repeated failures can lock the account or device. Stop and ask the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type into the focused field. Only its length appears in the response and the log. | |
| serial | No | Device serial from adb_devices. Optional when exactly one device is connected. |