You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm making an app with a music widget it has the following buttons.
Play, Pause, Previous track and Next track.
how do I play music in the google play music app just by pressing the play button?
any help would be appreciated thankyou.
The text was updated successfully, but these errors were encountered:
You can try something of this sort,
Intent intent = context.getPackageManager().getLaunchIntentForPackage("com.google.android.music");
startActivity(intent);
This would directly take you to the Google Play Music App. Hope this helps you @junaiiiid .
Hi, I'm making an app with a music widget it has the following buttons.
Play, Pause, Previous track and Next track.
how do I play music in the google play music app just by pressing the play button?
any help would be appreciated thankyou.
The text was updated successfully, but these errors were encountered: