Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Paste text on Android Emulator

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)

like image 889
ankitjaininfo Avatar asked Aug 02 '10 19:08

ankitjaininfo


People also ask

How do I copy text from PC to emulator?

You have to install any kinda cloud storage notes apk in your android and your pc. Such as, Google keep notes. Paste in google keep notes from your PC , then refresh google keeps notes apk in your android . You will be able to copy and paste text between your PC and android Emulator in this way.

Can you text from Android emulator?

Open both emulators simultaneously. They will be named emulator-5554 and emulator-5556 . Then from one device, text (555)521-555x, where the last 4 digits are the number from the emulator name. This will allow you to text between both devices.

How do I paste text from clipboard Android?

By using a clipboard on Android, you can create a collection of text clips and images and paste them into other apps. Tap the Clipboard icon in the top row of Gboard to see all the recently copied snippets and paste them with a tap.


1 Answers

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.

like image 57
Rose Perrone Avatar answered Sep 29 '22 19:09

Rose Perrone