Hi guys, i want to create an app that play spotify songs/playlists without the need for the mobile phone. It would play the songs using only wifi while connected to bluetooth headphones.
If anyone wanna join the development just post here.
HOW ITS GOING
I have managed to play a sample song (the spotify sdk example song) using only wifi. The problem is that to get the oauth token i need to rely on the spotify app on mobile or an webview. As webviews wont work on Android Wear, my solution for now is to send a message to the mobile, get the token (as spotify app is already logged on mobile, it wont show the webview, so the proccess is automatic) and send it back. It works and maybe its the way to go, but for now im using the Spotify Activity login approach, so the mobile needs to be unlocked.
If anyone wanna join the development just post here.
HOW ITS GOING
I have managed to play a sample song (the spotify sdk example song) using only wifi. The problem is that to get the oauth token i need to rely on the spotify app on mobile or an webview. As webviews wont work on Android Wear, my solution for now is to send a message to the mobile, get the token (as spotify app is already logged on mobile, it wont show the webview, so the proccess is automatic) and send it back. It works and maybe its the way to go, but for now im using the Spotify Activity login approach, so the mobile needs to be unlocked.
from xda-developers http://ift.tt/1VBicyv
via IFTTT
No comments:
Post a Comment