user1137160
user1137160

Reputation: 61

Send non english-text using adb (input keyevent) or using monkeyrunner

I would like to send some non-english text to an Android device. I have been trying both the monkeyrunner type command and adb shell command (input keyevent ...), with no success. Please help.

Upvotes: 5

Views: 4116

Answers (2)

renatoarg
renatoarg

Reputation: 303

I am using monkeyrunner to send non-english characters in SMS.

I just put

# coding=utf8

in the beggining of my python file, it worked perfectly for me. Hope it helps.

Upvotes: 0

KnightWhoSayNi
KnightWhoSayNi

Reputation: 570

You can try to use ADBKeyBoard created by Eric Tang

Check adb shell input unicode character or github to find more details.

Upvotes: 2

Related Questions