DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

kisa-love /

kisa-love/dsh-android-cn-input

Verified

一款通过adb shell命令让agent在安卓系统(或许只有模拟器,我也没试过真实的手机)终端上直接输入中文的插件。|A plugins that can input chinese by powershell using adb instruction in Android system(or emulator?, I have not test on real phone)

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@505c5043

dsh-android-cn-input

致谢!!

本插件内置了 senzhk/ADBKeyBoard 的安装包。因为实现中文输入必须要这个软件,为了方便用户一键使用,我将其打包在了一起。本插件仅借用了该软件,还请多多支持原作者!

##问题

为了解决让 Agent 在 DeepSeek Harness 上操作手机的问题,我尝试了许多方案。

##方案

最初尝试了 dsh-dot + dsh-phone 的方案,但 dsh-dot 会抢夺 DSH 内置模式的权限。导致本来的三种权限模式变成了 computer 和 computer auto,并且无法继续会话,故放弃。

然后选择了 @zhz8888/dsh-android-emulator-helper 这个插件,但是它原生并不支持 adb 输入中文,也不认 ADBKeyboard 广播通道。

于是我和 DeepSeek 创造了这个插件。在使用社区中提供的 ADBKeyboard 的情况下,通过 adb shell 命令安装、启动并设为默认输入法。接着再通过 adb shell 命令直接调用 ADBKeyboard 进行广播,让 Agent 能输入想要输入的中文,最后成功输出了中文。

将 keyboardservice-debug.apk 打包在一起,通过脚本将“安装、启动、设为默认以及后续的输入流程”集成为本插件,方便用户一键使用。

功能

  1. 一键初始化:android_setup_chinese_input 自动安装并激活 ADBKeyboard。
  2. 广播输入:android_type_chinese 通过 ADBKeyboard 广播输入中文,绕过原生 input text 的 ASCII 限制。

前提

模拟器已开机,且 adb 在系统 PATH 或 ADB 环境变量中可用。

安装

将本文件夹放入任意目录,通过 DSH 桌面端“添加插件”选择本地目录,或使用命令行:

dsh plugin --profile desktop add file:C:\你的路径\dsh-android-cn-input
—/ 5

No ratings yet

Verified DSH bundle

Commit 505c504337b1

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout