inline Send input to Android Device via ADB

Originally published on May 1st, 2020 (Last updated on May 1st, 2020)

To send input to an Android Device, for exam­ple to write some text into a text-box, use the input-com­mand on the device. This works via ADB Shell:

adb shell
input text [text-to-write]

The input-com­mand can also send oth­er sorts of input, like key­board or touch events. For more infor­ma­tion, just run the com­mand with­out any parameters.

Comments

No com­ment sec­tion here 😄

You can reach me over at @knuth_dev or send me an Email.