Take the 2-minute tour ×

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

share|improve this question
possible duplicate of store file in SD card adb shell emulator –  CommonsWare Jul 16 '11 at 11:16

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer
thanks you so much –  Nikunj Patel Jul 16 '11 at 6:35
i cant able to show it in gallery. why? –  Nikunj Patel Jul 16 '11 at 6:40
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 Jul 16 '11 at 6:50
i havent any phone. i want to store it in emulator –  Nikunj Patel Jul 16 '11 at 6:53
Doesn't matter. Same thing. –  EboMike Jul 16 '11 at 6:53

Your Answer


