Albums not showing saved images until after restarting phone

All your problems with Audio, Video and Images.

Albums not showing saved images until after restarting phone

Postby MetalAZ » Mon Dec 21, 2009 12:25 am

I'm writing an app that will include saving images that are in bitmaps. Everything is working great on the simulator, but on the phone I'm stuck rebooting before they show up in the albums.

The app is using 1.5 and the device is an HTC Hero from Sprint.

I'm using the following code for saving the images:
Code: Select all
String response = MediaStore.Images.Media.insertImage(getContentResolver(), pngImage, "My Title", "My Description");


After saving on the simulator I'm able to go into the album and see the saved images. On the device they aren't there until I reboot the phone. Is there a way to get them to show up on the phone without having to reboot first? This will definitely annoy and confuse users.
MetalAZ
Freshman
Freshman
 
Posts: 3
Joined: Mon Dec 21, 2009 12:20 am

Top

Postby MetalAZ » Thu Dec 24, 2009 6:17 pm

In case anyone else ends up with this same problem I ended up finding a solution that someone posted on Google Groups:

http://groups.google.com/group/android- ... e847bb64e5
MetalAZ
Freshman
Freshman
 
Posts: 3
Joined: Mon Dec 21, 2009 12:20 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 7 guests