Send any Unicode character to your Android device
pip install adb-unicode-keyboard
from adb_unicode_keyboard import AdbUnicodeKeyboard
from time import sleep
adbkeyboard = AdbUnicodeKeyboard(adb_path = "C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe",
deviceserial = "localhost:5735", exit_keys="ctrl+x")
adbkeyboard.connect_to_adb()
oldkeyboard = adbkeyboard.get_all_installed_keyboards()[0]
adbkeyboard.install_adb_keyboard() # installs "https://github.com/senzhk/ADBKeyBoard/raw/master/ADBKeyboard.apk"
adbkeyboard.activate_adb_keyboard()
if adbkeyboard.is_keyboard_shown():
adbkeyboard.send_unicode_text('öü')
adbkeyboard.send_unicode_text_with_delay('öü', delay_range=(0.05, 0.3))
sleep(1)
adbkeyboard.longpress_66_keycode_enter() # not executed with ADBKeyBoard / all keycodes are available as methods
sleep(1)
adbkeyboard.press_66_keycode_enter() # not executed with ADBKeyBoard / all keycodes are available as methods
adbkeyboard.disable_adb_keyboard(new_keyboard_name=None) # If no keyboard name is passed, will be reset to default
adbkeyboard.disable_adb_keyboard(new_keyboard_name=oldkeyboard)
#adbkeyboard.uninstall_adb_keyboard()
# Chaining is possible
adbkeyboard.connect_to_adb().activate_adb_keyboard().send_unicode_text('böb&oö').disable_adb_keyboard()
Metadata
Release files for adb-unicode-keyboard 0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adb_unicode_keyboard-0.12.tar.gz | 16.8 kB | Without provenance | Details for adb_unicode_keyboard-0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adb_unicode_keyboard-0.12-py3-none-any.whl | Python 3 | none | any | Details for adb_unicode_keyboard-0.12-py3-none-any.whl |
Total release size: 33.6 kB
Release files / adb_unicode_keyboard-0.12.tar.gz
| Download URL | adb_unicode_keyboard-0.12.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f88d5cf8915b0dd1ccae7809417280ea7f9f1b5a41b2bfb7357876cc93d1d8e1
|
|
BLAKE2b-256 checksum How to use checksums |
2d172caae6c1df010b7b5ee4edef6279a0506b33b4a20463acbc377ebcfa1fe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / adb_unicode_keyboard-0.12-py3-none-any.whl
| Download URL | adb_unicode_keyboard-0.12-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb5f7811679c6a3dd2d330f76a4bfaeeb4bf90cbb8ab04a7d01b86721e3fd02e
|
|
BLAKE2b-256 checksum How to use checksums |
60e76cacc40e293996c7b36719ae93ed2620458b7b880ca2f8cf4e6d1de09a4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for adb-unicode-keyboard 0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.