[Programming] How to Play/Resume music of another music player from my app?
hi fellow programmers,
In my android app I want to play or resume the played music after a paused it. I got my app to pause the music by sending a broadcast, but I can't get it to play or resume the music.
here is the code to pause
Intent i = new Intent("com.android.music.musicservicecommand");
i.putExtra("command", "pause");
sendBroadcast(i);
how can it be done?

There are 2 Comments. Load 'Em Up. Show speed reading tips and settings
Shortcuts to mastering the comment thread. Use wisely.
C - Next Comment
X - Mark as Read
R - Reply
Z - Mark Read & Next
Shift + C - Previous
Shift + A - Mark All Read
Comment Settings
Live comment alert: Hide it!
Comments for this post are closed.