Thursday, March 15, 2012

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

On Fri, Mar 16, 2012 at 11:47 AM, Mark Carter <mark@carter.name> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate