Skip to content

Instantly share code, notes, and snippets.

@kevalpatel2106
Last active September 6, 2017 10:55
Show Gist options
  • Save kevalpatel2106/cbf6b6f27190795b965361779bbc546a to your computer and use it in GitHub Desktop.
Save kevalpatel2106/cbf6b6f27190795b965361779bbc546a to your computer and use it in GitHub Desktop.
Amazon music:
intentFilter.addAction("com.amazon.mp3.playstatechanged");
intentFilter.addAction("com.amazon.mp3.metachanged");
Spotify:
intentFilter.addAction("com.spotify.music.playbackstatechanged");
intentFilter.addAction("com.spotify.music.metadatachanged");
Samsung Music:
intentFilter.addAction("com.samsung.sec.android.MusicPlayer.metachanged");
Default music:
intentFilter.addAction("com.android.music.metachanged");
intentFilter.addAction("com.android.music.playstatechanged");
intentFilter.addAction("com.android.music.playbackcomplete");
intentFilter.addAction("com.android.music.queuechanged");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment