I managed to read the metadata from the Android database using the code here . Just change managedquery to something like:
String selection = MediaStore.Audio.Media.DATA + " == ?"; cursor = this.managedQuery(media, projection, selection, new String[] {file.getCanonicalPath().toString()}, null);
Returns the cursor to the file metadata. (Author, title, duration, etc.)
source share