Download spotify android sdk






















If you want to use the web api as well you have to use this method to get the authentication token. You can specify multiple scopes by separating them with a comma "," as shown below. For more information on scopes you can refer to Spotify Authorization Scopes Guide.

On iOS you can store the token that you get from getAuthenticationToken This will avoid having to switch to the Spotify app for establishing the connection.

This library does not handle storing the token. This can be done in two ways:. Include the Android Authentication Library in your project and request app-remote-control scope.

This approach is useful if you need to request more scopes or an access token for other purposes, for example to communicate with Spotify Web API. The Quick Start contains an example on how to use this method. Install the latest version of Spotify from Google Play on the device you want to use for development. Run the Spotify app and login or sign up.

Create or make sure you have an Android app with at least one Activity or Service in which you can put your code to connect to Spotify. Add the library to your project by importing it as a module. It is important that the name that you specify in the build. Since version 0. Jackson is also supported. If you would like to use Jackson instead please see the FAQ here.

To allow the user to authorize your app, you will use the built-in authorization described below. The built-in authorization flow is an authorization method designed to make things easier for you. Could not load branches. Could not load tags. Latest commit. Git stats commits. Failed to load latest commit information. View code. This approach is useful if you need to request more scopes or an access token for other purposes, for example to communicate with Spotify Web API.

Use built-in authorization mechanism in Spotify App Remote Android. This site is open source. Improve this page. Open feature requests and suggestions.



0コメント

  • 1000 / 1000