Skip to content

Commit 3e4d2c9

Browse files
committed
fix typo
1 parent 10a082c commit 3e4d2c9

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

README.en.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,19 @@ command:
12911291
adb shell input text hello
12921292
```
12931293

1294-
`Hello` now appear in the text box.
1294+
`hello` now appear in the text box.
1295+
1296+
If you want to input Chinese, you can install [ADBKeyBoard.apk](https://github.com/senzhk/ADBKeyBoard), detailed documentation refer to [here](https://github.com/senzhk/ADBKeyBoard).
1297+
1298+
Then execute the commands:
1299+
1300+
```sh
1301+
# 1. Set the current input method to ADBKeyBoard
1302+
adb shell ime set com.android.adbkeyboard/.AdbIME
1303+
1304+
# 2. Input Chinese
1305+
adb shell am broadcast -a ADB_INPUT_TEXT --es msg '你好'
1306+
```
12951307

12961308
## View Log
12971309

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,13 +1311,15 @@ adb shell input text hello
13111311

13121312
现在 `hello` 出现在文本框了。
13131313

1314-
如果输入的是中文的话,需要在手机中安装[ADBKeyboard.apk](https://github.com/senzhk/ADBKeyBoard),详细文档见[这里](https://github.com/senzhk/ADBKeyBoard)
1314+
如果想输入中文,可以在设备上安装 [ADBKeyBoard.apk](https://github.com/senzhk/ADBKeyBoard),详细文档参考 [这里](https://github.com/senzhk/ADBKeyBoard)
13151315

13161316
然后执行命令:
1317-
```
1318-
1. 设置当前输入法为:ADBKeyBoard
1317+
1318+
```sh
1319+
# 1. 设置当前输入法为 ADBKeyBoard
13191320
adb shell ime set com.android.adbkeyboard/.AdbIME
1320-
2. 输入中文
1321+
1322+
# 2. 输入中文
13211323
adb shell am broadcast -a ADB_INPUT_TEXT --es msg '你好'
13221324
```
13231325

0 commit comments

Comments
 (0)