0

I want to push image to sdcard via adb shell command which are stay in my d:\folder
i want to see it in emulator not on device. can you help me on this Thanks Nik

1

1 Answer 1

4

Are you trying to do

adb push d:\folder\myimage.jpg /sdcard/myimage.jpg

Depending on your Android version, it could also be /mnt/sdcard/myimage.jpg.

If you want to put it where you other images are, you could push it to mnt/sdcard/DCIM/Camera/myimage.jpg.

4
  • It should. Did you put it into /mnt/sdcard/DCIM/Camera? On some HTC phones, it's /mnt/sdcard/DCIM/100MEDIA. It's moot though, Android will scan the entire SD card for images. So if it doesn't work, it's probably because the media scanner didn't realize that you snuck an image in via adb. Option 1: Unmount and remount your phone. Option 2: Reset your phone. Then, after the re-scan, the image should appear.
    – EboMike
    Commented Jul 16, 2011 at 6:50
  • i havent any phone. i want to store it in emulator Commented Jul 16, 2011 at 6:53
  • from where i can see that image(view image) Commented Jul 16, 2011 at 6:55
  • can you navigate me for emulator Commented Jul 16, 2011 at 7:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.