Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mzlogin committed Jul 30, 2024
1 parent 10a082c commit 3e4d2c9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
14 changes: 13 additions & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,19 @@ command:
adb shell input text hello
```

`Hello` now appear in the text box.
`hello` now appear in the text box.

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).

Then execute the commands:

```sh
# 1. Set the current input method to ADBKeyBoard
adb shell ime set com.android.adbkeyboard/.AdbIME

# 2. Input Chinese
adb shell am broadcast -a ADB_INPUT_TEXT --es msg '你好'
```

## View Log

Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1311,13 +1311,15 @@ adb shell input text hello

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

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

然后执行命令:
```
1. 设置当前输入法为:ADBKeyBoard

```sh
# 1. 设置当前输入法为 ADBKeyBoard
adb shell ime set com.android.adbkeyboard/.AdbIME
2. 输入中文

# 2. 输入中文
adb shell am broadcast -a ADB_INPUT_TEXT --es msg '你好'
```

Expand Down

0 comments on commit 3e4d2c9

Please sign in to comment.