How to avoid MediaScanner delete database entries?
<p>in Android the system does not scan flac lossless audio files, so I write a scanner to scan them, put into Audio.Media.EXTERNAL_CONTENT_URI, and it works well - until the MediaScanner activates and delete the entries I have inserted.
Is there a way to prevent MediaScanner deletes them, or some trick to know when MediaScanner is done, so I can call my scanner up to scan and insert again?
Thanks!</p>
