Last Updated: November 03, 2016
·
2.556K
· idl3

Paste clipboard to Android Simulator

You can run this on the command line

adb shell input keyboard text $(/usr/bin/pbpaste)

or you can create a function to do it

function copy_to_android {
  adb shell input keyboard text $(/usr/bin/pbpaste)
}