Announcements

Android Apps - Controlling volume? Web API endpoint broken for Android devices?

Reply
Highlighted

Android Apps - Controlling volume? Web API endpoint broken for Android devices?

Visitor

First question: there is currently no way to control and android device's Spotify volume through the Spotify Android SDK, correct?

 

Secondly - if there isn't, I see some Web API endpoints that may be able to do the job, but I'm getting a strange result when calling this endpoint with the intention of capturing the user's current volume: 

https://api.spotify.com/v1/me/player

The JSON response:: device{ "volume_percent" : "100" } seems to always be 100 for my android devices no matter what the device's volume is. Is this behavior expected, or am I doing something wrong? When my PC is my active device, the JSON response reflects the correct volume. Any thoughts on this would be great!

SUGGESTED POSTS