CloudPlayer is an Android media player app which streams content from SoundCloud. The app displays and allows playback of the logged-in user's publicly available liked tracks and playlists.
If you're looking to build and run this project, you should take note of the following concerns:
| Name | Description |
|---|---|
| pref_file_key | The Shared Preferences file name. |
| token_key | The Shared Preferences key name to access the stored token. |
| refresh_token_key | The Shared Preferences key name to access the stored refresh token. |
| api_root | The root path of the API. (ex. https://api.soundcloud.com) |
| client_id | Your app's Client ID |
| client_secret | Your app's Client Secret |
| redirect_uri | Your app's Redirect URI |
Note
Any custom values can be used for pref_file_key, token_key, and refresh_token_key.
Important
If you happen to have an app registered with SoundCloud already, you can insert your own values for Client ID, Client Secret, and Redirect URI.
However, the last I checked, SoundCloud isn't reviewing new app registrations.
The best I can recommend, if you don't have a Client ID and Secret available, would be to try contacting SoundCloud directly.
- Authentication is initiated via the Login activity's
Connectbutton. - It opens the browser to SoundCloud's 'Connect' page for the user to approve access to their account.
- After approval, the page redirects to the app's
Redirect URI. - The value of the
codeurl parameter must be copied into the Login activity'sAuthorization codeedit text field to login.




