http://developer.android.com/reference/android/media/MediaScannerConnection.html

20.09.2010 18:41, Abhi пишет:
I am looking for the same answer.

On Aug 29, 2:26 pm, Patrick<patrick.manges...@gmail.com>  wrote:
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 programmaticallyrefreshagalleryafter
storing a photo?

On Jul 1, 2:45 am, Julian<lepin...@gmail.com>  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<andy.tribole...@gmail.com>  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?


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to