Thursday, December 28, 2017

Paste copied text in emulator(in EditText)
How to paste text to emulator in edittext?
---------------------------------------------------
1. Open Terminal.
2. Go to sdk path e.g. D:\sdk\platform-tools
3. Type adb devices((it will list the device currently connected))
e.g.  D:\sdk\platform-tools>adb devices
4. Select Textbox where you want to write text
5. Write command: `adb shell input text 'Yourtext'` (make sure only one device is connected to run this command and that you can also use **Single Quotes**)
e.g. D:\sdk\platform-tools>adb shell input text ' भारत'6. Done!

No comments:

Post a Comment