• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Most recent image saved on SD card doesnot display in Picture browser..

 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am saving an image on the SD card using standard Java I/O. The file is created and stored successfully on the SD card(fact ascertained using DDMS). But when I go to Picture browser on the emulator and view pictures on SD card, the new file that I saved doesnot display in the grid.
For a referesh to happen, I have to run Media Scanner in Dev Tools explicitly or add a media scanner code in my application after saving the image.

Is this an emulator problem? What do I need to do to refresh the status so that the most recent image written to disk is visible?

Thanks.
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Monu,

Have you sorted out this problem? Have you tried to store image with Media store? Please have a look at this otherwise.

Thanks & Regards
Pratik Goswami
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic