Is there any way to get the details of media files that is executed in android(default) media player?
This thread might help you to find what you are looking for: http://www.alexc.me/android-music-app-service-currently-playing-song/231/
Regards
You can start playing a media file on your phone with the debug bridge enabled (or just use the emulator) and check with LogCat if there is an Intent - but as far as I know the SDK does not provide a way to retrieve details for played media files
来源:https://stackoverflow.com/questions/3606846/get-details-of-current-media-file-playing-in-android-media-player