Hi,
I am trying to build an Android Service that should get notified when
the user starts playing an MP3. I checked LogCat when I start playing
a song and saw that the following Intent is logged:
Intent { act=com.android.music.PLAYBACK_VIEWER flg=0x4000000
cmp=com.android.music/.MediaPlaybackActivity }
I couldn't figure out how to write an IntentFilter to let my Service
know that this event has occurred and let me know the name of the song
that will be played. I searched Android reference but could not find
anything on PLAYBACK_VIEWER.
Or should I instead listen for Intent { act=android.intent.action.PICK
dat= typ=vnd.android.cursor.dir/track
cmp=com.android.music/.TrackBrowserActivity } that is fired when the
list of songs is presented?
Thanks,
C
--
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