How to see image and media files in SDCard from emulator

All your problems with Audio, Video and Images.

How to see image and media files in SDCard from emulator

Postby nithin.warier » Fri Mar 06, 2009 10:16 am

Hi ,

When we insert images or media files to sdcard, how we can see this in emulator, means in which folder, i inserted some images and checked in "pictures", but i cant see anything there, just blank only --"No Pictures found" displaying.

For media i checked in "Media scanner" under 'Dev tools", there also cant see anything.

Can anybody guide me in this issue.

Thanks
Nithin
nithin.warier
Experienced Developer
Experienced Developer
 
Posts: 87
Joined: Thu Feb 28, 2008 12:05 pm
Location: Malappuram Kerala India

Top

Postby Haibane » Fri Mar 06, 2009 2:34 pm

All the pictures should be available in the picture viewer no matter where they are stored on the sdcard. However I have a feeling that you talk about real (physical) sdcard which is invisible to the emulator (like any other part of your host filesystem)

Did you create an emulated sdcard image and loaded it to the emulator? Because then it should work fine.
User avatar
Haibane
Junior Developer
Junior Developer
 
Posts: 17
Joined: Fri Feb 13, 2009 10:05 am
Location: Klagenfurt, Austria

Postby gman » Fri Mar 06, 2009 6:46 pm

run the following command

adb push <filename> /sdcard

If wanting to transfer all files in a directory onto sdcard, execute the following

adb push <source dir> /sdcard


Then go to DevTools->Media Scanner

Note: you will not see the pics/audio files here when you run Media Scanner.

Now, go to Pictures(Image Gallery). You will be able to see the image you pushed using adb command.

Hope that helps.

-Gman.
gman
Freshman
Freshman
 
Posts: 3
Joined: Wed Mar 04, 2009 11:44 pm

Postby nithin.warier » Tue Mar 10, 2009 6:57 pm

ok, thanks for all replies, its working fine now..

Thanks
Nithin
nithin.warier
Experienced Developer
Experienced Developer
 
Posts: 87
Joined: Thu Feb 28, 2008 12:05 pm
Location: Malappuram Kerala India

Postby peng.zhounix » Mon May 11, 2009 12:45 pm

hi all, can build-in "gallery" display *bmp picture? I copy *jpeg, *png and *bmp to sdcard, and now find "gallery" only display pictures for *jpeg and * png.

how to display *bmp in emulator? Thx!
peng.zhounix
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Feb 03, 2009 8:51 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests