Wednesday, September 12, 2012

[android-developers] artist name on mini player

I want to control the order of what is displayed in the mini player view on the lock screen. I want to be able to show the artist name first, which is a popular request. Below is the code I use. Is there some way to force the display order?

RemoteControlClient.MetadataEditor editor = mRemoteControlClient.editMetadata(false);
editor.putString(MediaMetadataRetriever.METADATA_KEY_ALBUM, album);
editor.putString(MediaMetadataRetriever.METADATA_KEY_ARTIST, artist);
editor.putString(MediaMetadataRetriever.METADATA_KEY_TITLE, title);
editor.apply();

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment