On Fri, Dec 16, 2011 at 11:08 AM, Nikolay Elenkov
<[email protected]> wrote:
> To have them
> show up, you need to explicitly invoke  MediaScannerConnection.scanFile().
> If he reboots the devices the files should show up, since, IIRC, it
> scans on startup.

There are existing Market apps that can do this as well -- I have
SDrescan on my XOOM, for example. I find it handy for when I push
stuff via adb and need the MediaStore updated.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.1 Available!

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