I'm trying to make use of RemoteControlClient to show "now playing" media 
information on the Ice Cream Sandwich lockscreen, just like the official 
(closed-source) Google Music app does.  Unfortunately, I can't seem to get 
it to display anything.

I've added some code to my existing application based on the example found 
at:

http://developer.android.com/reference/android/media/RemoteControlClient.html

I've also added some code to call RemoteControlClient.setPlaybackState when 
the playback state changes, as well as update the metadata using 
RemoteControlClient.MetadataEditor.  I've also made sure that the transport 
control flags are properly set.

Nothing shows up, at all.  Anybody have any ideas?  I built the framework 
source with DEBUG set to true in TransportControlView and it doesn't seem 
that the play state is ever getting set in the transport control view, so 
the widget is never displayed on the lockscreen.

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

Reply via email to