Paste text on Android Emulator

ankitjaininfo picture ankitjaininfo · Aug 2, 2010 · Viewed 118.5k times · Source

Is there an easy way to copy/paste (desktop's) clipboard content to EditView on Android Emulator?

(just for the sake to ease development/test)

Answer

Rose Perrone picture Rose Perrone · May 18, 2013

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.