eclipse - stuck with chinese in android virtual device
When I run my android emulator in eclipse, all my keyboard characters gets translated to chinese when I开发者_开发百科 try to write text. Why is this?
Thanks
- Tap & hold on an
EditText
- Select Input Method
- Select Android Keyboard
For emulator you can run such two commands to remove Pinyin IME (so latin would become default):
> adb shell
# mount -rw -o remount /dev/block/mtdblock0 /system
# rm /system/app/PinyinIME.apk
the same, but easier to put into Jenkins:
> adb shell mount -rw -o remount /dev/block/mtdblock0 /system
> adb shell rm /system/app/PinyinIME.apk
You can first check which device is mounted to /system by running
# mount
in adb shell.
If you need to remove another IME - just change a filename in "rm" command.
Note: this will remove Pinyin IME completely. While you're not completely sure - don't do it on real devices as it would be hard to bring that IME back :)
What do you mean it gets translated to Chinese? From home screen, press Menu, Settings, Language and Keyboard..maybe you can tweak the settings there?
精彩评论