summaryrefslogtreecommitdiff
path: root/doc/todo/Use_MediaScannerConnection_on_Android.mdwn
blob: dc109008aeb9ea5bf9135eb3b1c921b8e0d50bd4 (plain)
1
2
3
4
5
Currently if photos or videos are copied into the Camera/DCIM directory on an Android device, or deleted the Gallery doesn't notice the changes.

It is necessary to call MediaScannerConnection - http://developer.android.com/reference/android/media/MediaScannerConnection.html - to notify the system of the change.

It'd be awesome if the assistant did this on files it has changed.  Possibly just under Camera/DCIM, but perhaps it should be configurable. MediaScannerConnection is also used to notify and index new music files.