Get details of current media file playing in android media player

眉间皱痕 提交于 2019-12-04 11:17:15

问题


Is there any way to get the details of media files that is executed in android(default) media player?


回答1:


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




回答2:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!