adb shell am broadcast -a ADB_INPUT_TEXT --es msg for hebrew chars
michaazran opened this issue · 5 comments
michaazran commented
hi
i am trying to use the keyboard to send hebrew characters to my mobile
adb shell am broadcast -a ADB_INPUT_TEXT --es msg 'HEBREW WORD'
but it is not running, when i use
am broadcast -a ADB_INPUT_CHARS --eia chars '1502,1497,1499,1488,1500'
it is working successfully
any idea ?
senzhk commented
Latest Android doesn't allow sending these via command line,
1.1 Sending text input (base64) if (1) is not working.
adb shell am broadcast -a ADB_INPUT_B64 --es msg `echo '你好嗎? Hello?' |
base64`
…On Mon, Jan 21, 2019, 7:18 AM michaazran ***@***.*** wrote:
hi
i am trying to use the keyboard to send hebrew characters to my mobile
adb shell am broadcast -a ADB_INPUT_TEXT --es msg 'HEBREW WORD'
but it is not running, when i use
am broadcast -a ADB_INPUT_CHARS --eia chars '1502,1497,1499,1488,1500'
it is working successfully
any idea ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABoh9ASKZ7qcygL7lO3qkXZrSJKWo9lSks5vFPlJgaJpZM4aJ57P>
.
michaazran commented
so ADB_INPUT_CHARS is the only way to use it ?
senzhk commented
No, you can use the "base64" tool :
adb shell am broadcast -a ADB_INPUT_B64 --es msg echo 'HEBREW WORD' | base64
michaazran commented
not working
it send other characters and not my Hebrew characters
michaazran commented
by the way, when i send English characters using the base64 the keyboard crush, i am getting a message "unfortunately ADBKeyboard has stopped"