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)
}
Written by Ernest
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Android
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#