upload picture to emulator gallery

前端 未结 8 992
闹比i
闹比i 2020-12-02 20:12

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\

8条回答
  •  死守一世寂寞
    2020-12-02 21:03

    I can put images in my SD Card in this way:

    1. disconect my phone from USB

    2. using adb push command line with the folder storage/sdcard and not /sdcard, example

      D:\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb push "d:\star.jpg" storage/sdcard

    3. close the emulator and run again

    4. I check in Eclipse -> DDMS -> File Explorer tab, and I see the image inside storage/sdcard folder

提交回复
热议问题