how to scan through the ID3 tag of a song in android
-
29-10-2019 - |
Question
in my app i am using the following code to collect the songs from a SD card.
final String[] proj = { MediaStore.Audio.Media._ID,MediaStore.Audio.Media.DATA,MediaStore.Audio.Media.DISPLAY_NAME,MediaStore.Audio.Media.SIZE };
musiccursor = managedQuery(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,proj, null, null, null);
i thought this will collect the songs from all part of the SD card and display name, artist name,bpm, bit rate.....
but its just collecting the songs from the SDcard only.
Actually i want to see the header part of a song such as bit rate, song name , artist and bpm. Is it possible to get these data from the above code.
When i was googling i found a song can be scanned by using MediaScanner method, is it so. how to perform that operation. please anyone help me
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow