ankitjaininfo ankitjaininfo - 5 months ago 45x
Android Question

Paste text on Android Emulator

Is there anyway to copy/paste (desktop's) clipboard content to

on Android Emulator?

(just for the sake to ease development/test)


In a terminal, type adb shell input text 'my string here. With some characters escaped like \$ that'

Note that an alternative method for including spaces in the text is to substitute %s for each space character.