Skip to content
/ YADB Public

YADB is a utility tool that extends ADB, with its keyboard input feature being superior to ADBKeyboard.

License

Notifications You must be signed in to change notification settings

ysbing/YADB

Repository files navigation

Language: English | 中文简体

YADB

YADB is a tool that extends the functionality of the native ADB (Android Debug Bridge), offering practical features not supported by the native ADB. These features include Unicode character input, screenshots, layout extraction, and long-press screen operations.

Features

Unicode character Input

With YADB, you can easily input Chinese characters, solving the issue of garbled text when using adb shell input text to input Chinese.

adb push yadb /data/local/tmp && adb shell app_process -Djava.class.path=/data/local/tmp/yadb /data/local/tmp com.ysbing.yadb.Main -keyboard 你好,世界

Read Clipboard

adb push yadb /data/local/tmp && adb shell app_process -Djava.class.path=/data/local/tmp/yadb /data/local/tmp com.ysbing.yadb.Main -readClipboard

Screenshot

YADB allows you to take screenshots without considering whether the Activity forbids screenshots.

adb push yadb /data/local/tmp && adb shell app_process -Djava.class.path=/data/local/tmp/yadb /data/local/tmp com.ysbing.yadb.Main -screenshot

Layout Extraction

Compared to adb shell uiautomator dump, YADB provides more efficient layout extraction, especially in interfaces where uiautomator cannot fetch the layout.

adb push yadb /data/local/tmp && adb shell app_process -Djava.class.path=/data/local/tmp/yadb /data/local/tmp com.ysbing.yadb.Main -layout

Long Press Screen

This feature can be used for automated testing to achieve long press operations on the screen.

adb push yadb /data/local/tmp && adb shell app_process -Djava.class.path=/data/local/tmp/yadb /data/local/tmp com.ysbing.yadb.Main -touch 500 500 2000

License

This project is released under the LGPLv3 license.

About

YADB is a utility tool that extends ADB, with its keyboard input feature being superior to ADBKeyboard.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published