Add File to MediaStore & Trigger Media Scanner
Posted: 24 Jan 2016 08:48
1. Add File to MediaStore
For example, how would I add an automagic created screenshot to the MediaStore? I found the following intent, but I don't know how to use it:
https://developer.android.com/reference ... .String%29
Ideally someone would answer with how to add any supported file to the MediaStore.
2. Trigger Media Scanner
How do I trigger a media scan for when I move a folder of media files?
For example, how would I add an automagic created screenshot to the MediaStore? I found the following intent, but I don't know how to use it:
https://developer.android.com/reference ... .String%29
Ideally someone would answer with how to add any supported file to the MediaStore.
2. Trigger Media Scanner
How do I trigger a media scan for when I move a folder of media files?