adb-unicode-keyboard


Nameadb-unicode-keyboard JSON
Version 0.11 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/adb_unicode_keyboard
SummarySend any Unicode character to your Android device
upload_time2023-05-29 01:03:00
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords adb android unicode keyboard
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
### Send any Unicode character to your Android device

```python
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()

```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/adb_unicode_keyboard",
    "name": "adb-unicode-keyboard",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "adb,android,unicode,keyboard",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c1/88/23609d0b17ae470ba56b331b07f5c60dc682110111d0967050b31eeab4ee/adb_unicode_keyboard-0.11.tar.gz",
    "platform": null,
    "description": "\r\n### Send any Unicode character to your Android device\r\n\r\n```python\r\npip install adb-unicode-keyboard\r\n\r\nfrom adb_unicode_keyboard import  AdbUnicodeKeyboard\r\nfrom time import sleep\r\nadbkeyboard = AdbUnicodeKeyboard(adb_path = \"C:\\\\Users\\\\Gamer\\\\AppData\\\\Local\\\\Android\\\\Sdk\\\\platform-tools\\\\adb.exe\",\r\ndeviceserial = \"localhost:5735\", exit_keys=\"ctrl+x\")\r\nadbkeyboard.connect_to_adb()\r\noldkeyboard = adbkeyboard.get_all_installed_keyboards()[0]\r\nadbkeyboard.install_adb_keyboard() # installs \"https://github.com/senzhk/ADBKeyBoard/raw/master/ADBKeyboard.apk\"\r\nadbkeyboard.activate_adb_keyboard()\r\nif adbkeyboard.is_keyboard_shown():\r\n\r\n    adbkeyboard.send_unicode_text('\u00f6\u00fc')\r\n    adbkeyboard.send_unicode_text_with_delay('\u00f6\u00fc', delay_range=(0.05, 0.3))\r\n    sleep(1)\r\n    adbkeyboard.longpress_66_keycode_enter() # not executed with ADBKeyBoard / all keycodes are available as methods\r\n    sleep(1)\r\n    adbkeyboard.press_66_keycode_enter() # not executed with ADBKeyBoard  / all keycodes are available as methods\r\n\r\nadbkeyboard.disable_adb_keyboard(new_keyboard_name=None) # If no keyboard name is passed, will be reset to default\r\nadbkeyboard.disable_adb_keyboard(new_keyboard_name=oldkeyboard)\r\n\r\n#adbkeyboard.uninstall_adb_keyboard()\r\n\r\n# Chaining is possible\r\nadbkeyboard.connect_to_adb().activate_adb_keyboard().send_unicode_text('b\u00f6b&o\u00f6').disable_adb_keyboard()\r\n\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Send any Unicode character to your Android device",
    "version": "0.11",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/adb_unicode_keyboard"
    },
    "split_keywords": [
        "adb",
        "android",
        "unicode",
        "keyboard"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c82b349a9dfd7eb9ed3928d1f26fa03d85159c4b56db6d52a4055c158c4c147",
                "md5": "cc4e6c3ec4a94ecf3f52ebd04e87ae58",
                "sha256": "512ccf654f04b751f9b1fac218a9cdd898363321d8a8c88549d478ffe4420742"
            },
            "downloads": -1,
            "filename": "adb_unicode_keyboard-0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc4e6c3ec4a94ecf3f52ebd04e87ae58",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 16802,
            "upload_time": "2023-05-29T01:02:58",
            "upload_time_iso_8601": "2023-05-29T01:02:58.200553Z",
            "url": "https://files.pythonhosted.org/packages/5c/82/b349a9dfd7eb9ed3928d1f26fa03d85159c4b56db6d52a4055c158c4c147/adb_unicode_keyboard-0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c18823609d0b17ae470ba56b331b07f5c60dc682110111d0967050b31eeab4ee",
                "md5": "7db0212043b217f9bf1ccae969c62dcb",
                "sha256": "b6974ff242f242a11e31164b614580d575ac47e6de50421fc539f91ea34b56b8"
            },
            "downloads": -1,
            "filename": "adb_unicode_keyboard-0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "7db0212043b217f9bf1ccae969c62dcb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16854,
            "upload_time": "2023-05-29T01:03:00",
            "upload_time_iso_8601": "2023-05-29T01:03:00.329734Z",
            "url": "https://files.pythonhosted.org/packages/c1/88/23609d0b17ae470ba56b331b07f5c60dc682110111d0967050b31eeab4ee/adb_unicode_keyboard-0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-29 01:03:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "adb_unicode_keyboard",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "adb-unicode-keyboard"
}
        
Elapsed time: 0.17157s