Max

unread,
Oct 24, 2019, 4:42:41 PM10/24/19
to MIT App Inventor Forum
Hi!

i'm freaking out, because I cannot solve this problem: I simply want to build an app, that controlls my music playback from spotify.

would be amazing, if someone can help me.

Greetigs from Germany,
Max

TimAI2

unread,
Oct 24, 2019, 6:13:43 PM10/24/19
to mitappinv...@googlegroups.com
from Android Developers:

"By default, pressing the volume control modifies the volume of the active audio stream. If your app isn't currently playing anything, hitting the volume keys adjusts the music volume (or the ringer volume before Android 9)."

Therefore if Spotify is playing the device buttons should control the volume ?

You could try the Player volume blocks to see if that works ?

Or try to discover the intent (action), package and class required to open the volume control with activityStarter

[EDIT] sorry got it in my head you only wanted to control the volume

BodyMindPower

unread,
Oct 24, 2019, 7:49:04 PM10/24/19
to MIT App Inventor Forum
Why, what is the purpose of the app? What is meant by "that controlls my music playback from spotify"?
Show the relevant blocks, what have you done so far?

Gruß, Anke
Reply all
Reply to author
Forward
0 new messages