[mono-android] how to refresh sdcard when i create a folder, add a pic
michelw
michel.waast at gmail.com
Tue Jun 5 12:55:05 UTC 2012
Hi
i don't try Getfiles, i do this :
SendBroadcast(new Intent(Intent.ActionMediaScannerScanFile,
Android.Net.Uri.Parse("file://"+ NameOfFile)));
And it's work fine for me
Thanks :)
Le 31/05/2012 19:17, Jonathan Pryor a écrit :
> On May 31, 2012, at 11:21 AM, michelw wrote:
>> I search all this day to add a picture into sdcard, and i don't undestand how to refresh folder for android system.
> How are you listing the file contents? As far as I know, System.IO.Directory.GetFiles() should work and return added files; if this isn't the case, a bug case would be appreciated.
>
> Thanks,
> - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
More information about the Monodroid
mailing list