On Fri, Mar 16, 2012 at 11:47 AM, Mark Carter <[email protected]> wrote:
> Even disconnecting from USB often does not work...

Reboot always does :) I *think*, MediaScanner actually runs periodically,
so the files should show up eventually, but if you want them to show up
 right way, you need to call scanFile(). Do it a few times for good measure :)

# sync
# sync
# sync
# reboot

I do think that updating the filesystem cache is not the work of apps,
but it's certainly better than USB storage.

-- 
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

Reply via email to