Paste text on Android Emulator

后端 未结 20 1500
臣服心动
臣服心动 2020-12-07 07:10

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)

20条回答
  •  情话喂你
    2020-12-07 07:36

    Using Visual Studio Emulator, Here's my method.

    First Mound a virtual sd card:

    1. Use the Additional Tools (small >> icon) for the emulator and go to the SD Card tab.
    2. Select a folder on your computer to sync with the virtual SD card.
    3. Pull from SD card, which will create a folder structure on the selected folder.

    Set up a text file to transfer text:

    1. Use Google Play Store to install a text editor of your choice
    2. Create a text file containing your text on you computer in the download directory of the virtual sd card directory you created before.

    Whenever I need to send text to the clip board.

    1. Edit the text file created above.
    2. Go to Additional Tools (small >> icon) and chose Push To SD Card.
    3. Open the text file in the text editor I installed and copy the text to the clip board. (Hold down the mouse when the dialog opens, choose select all and then click the copy icon)

    Once set up it pretty easy to repeat. The same method would be applicable to other emulators by you may need to use a different method to push your text file to emulator.

提交回复
热议问题