title: Android's Media Scanner: How do I remove files?
body: <p>I'm writing an app that removes files that may or may not be listed in any one of the types of media libraries such as music or pictures. While I can use the <code>MediaScannerConnection.scanFile</code> method to <em>add</em> files to the media library there doesn't seem to be any call to notify the service that the file has been removed. Sending it the path of the file that no longer exists doesn't result in the desired behavior either. How should I go about removing items from the library that no longer exist on the Android storage?</p>