I wanted to bring up this querstion again, since I stumble upon the same problem but still haven't found a solution.
Does anyone know how to programmatically refresh a gallery after storing a photo? On Jul 1, 2:45 am, Julian <[email protected]> wrote: > Well, for starters most of the code samples include "file://" before > the path in Uri.parse, so you might want to add that. > > That said, I'm not having much luck forcing a rescan of a particular > folder on the SD card... > > On Jun 7, 1:19 am, Andy Triboletti <[email protected]> wrote: > > > > > Hi, > > I have an application where I want to have the ability for the user to > > save one of the photos they are viewing to their phone locally. I got > > saving working, and now I want to automaticallyrefreshso they don't > > have to turn off their phone before it shows up in thegallery. I > > googled around and saw this: > > > sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, > > Uri.parse(Environment.getExternalStorageDirectory().getAbsolutePath() ))); > > > I tried doing that, but it didn'trefreshfor me. Does anyone have > > any ideas? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

