Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Unfortunately, an English translation is not yet available. This page is in the process of being translated into English. Sorry for the temporary inconvenience.

В программе есть 4 способа ввода символов с клавиатуры

...

The program has 4 methods to enter characters from the keyboard

...

Character input works differently on different devices, so we give you the opportunity to choose the best one for yourself. The first three methods allow you to enter any characters, including emoji.

  • ADBKeyboard.

  • AccessibilityService.

  • Native input + Clipboard.

  • Input text.

Технические подробностиTechnical details:

  1. ADBKeyboard. Используется сторонняя клавиатура. Автоматически устанавливается при подключении к устройству. Позволяет вводить символы, как если бы их набирали на виртуальной клавиатуре.AccessibilityService. Используется uiautomator2. Позволяет задать любое значение полю, которое находится в фокусе. По своей сути не является вводом символов, а просто меняет у поля свойство Text на нужное значение. Не будет работать в приложениях, в которых отсутствует стандартное дерево элементов, например, в играхA third-party keyboard is used. Automatically installed when connected to a device. Allows you to enter characters as if they were typed on a virtual keyboard.

  2. AccessibilityService. Uiautomator2 is used. Allows you to set any value to the field in focus. In fact, it is not a character input, but it simply changes the Text property of the field to the necessary value. It doesn’t work in apps that don’t have a standard element tree, for example, games.

  3. Native input + Clipboard. Ввод символов осуществляется напрямую через интерфейс IInputManager и IClipboard. Ввод кириллицы/эмодзи возможен только на Android 7 и выше, ASCII - на любых устройствах. Работает достаточно быстроCharacters are entered directly through the IInputManager and IClipboard interface. Cyrillic / emoji input is only possible on Android 7 and higher, ASCII – on any device. Works fast enough.

  4. Input text - аналог команды analogue of the input text + добавлены все необходимые преобразования текста для корректного ввода спецсимволов command + added all the necessary text transformations for the correct input of special characters ( < > | ) ( и прочихand others). Позволяет вводить только ASCII символы. Посимвольный ввод работает довольно медленно, поэтому лучше выбирать тип ввода с отключенной галочкой «задержка»Allows you to enter only ASCII characters. Character-by-character input works quite slowly, so it’s better to choose an input type with the «delay» checkbox disabled.

Нужно установить на телефон приложение
Expand
titleКлавиатура The ADBKeyboard не установилась, что делать?
installation failed, what should I do?
  1. You need to install the com.android.adbkeyboard.apk (файл лежит в корневой папке с программой). Можно экшеном Установить приложение. На некоторых телефонах нужно в настройках ставить галку "Доверять установку приложений из незнакомых источников", примерно так в разных вариациях).

  2. Зайти на телефоне в настройки языка ввода и поставить галку AdbKeyboard.

  3. Выполнить экшен Запустить вирт.машину. Это должно активировать клавиатуру (проявляется в любом поле, где нужно ввести текст - снизу появится маленькое уведомление Adb keyboard ON) app on your phone (the file is in the root folder with the program). Or via the «Install application» action. On some phones, you need to check the box «Allow installation of applications from unknown sources» in the settings, something like this in different variations.

  4. Go to the «Language & Input» settings on your phone and check the AdbKeyboard.

  5. Run «Start virtual machine» action. This should activate the keyboard (appears in any field where you need to enter text – a small notification «AdbKeyboard ON» will appear at the bottom).