Sunday, September 14, 2014

how to copy and paste text from mac to ios and android

iOS simulator:

To copy text from mac to ios simulator, first select the text in mac, and then click "Command+c" to copy it.
Then on ios emulator, first click "Command+v", the string will not show up yet, you then need to select the text field and hold until the paste context menu is shown, select paste menu, the text will be pasted into the text field.



Android emulator:

The easiest way to copy text to android emulator is first selecting the text field in android emulator, and from mac terminal window, type the following command to send the string to the emulator


adb shell input text 'my text string to be copied to android emulator'

No comments:

Post a Comment