Tuesday, February 11, 2014

Seek expert help, how to get the music being played filename


            
By Cursor or MediaPlayer, seeking specific methods
Reply:
Read local music or network music?
Reply:
Please say it more clearly now
Reply:
Read local music, wrote a music player, I do not know how the name of the song being played is displayed.
Reply:
Find Great God help ah
Reply:
http :/ / stackoverflow.com/questions/11705692/android-how-to-get-a-single-songs-id-info-from-a-know-uri
Reply:
Locally, then use cursor and ContentResolver
Reply:
Thank you, my own 2, the direct mCursor.getString (mCursor.getColumnIndex (MediaStore.Audio.Media.TITLE)) is solved.

No comments:

Post a Comment