Search code examples
androidandroid-emulatorandroid-gallery

upload picture to emulator gallery


I want to add picture in emulator's gallery. But i am not able to do this. How to do this? any clue! Though i have gone through a answer posted in stack over flow but didn't get success with that answer.


Solution

  • Check this Once you have a virtual SD card in your emulator, if you're not comfortable with mtools or if you don't know how to mount a loopback device on Linux (which is really easy by the way), just use adb push to upload your images. Possible example:

    adb shell mkdir /sdcard/Pictures
    adb push mypic.jpg /sdcard/Pictures