Table of Contents
A spotify/soundcloud video clip search app - mostly written in 2019/2020. Spotify playback requires being logged in with a premium account.
- Create a project at https://console.cloud.google.com/.
- Enable Youtube API
- Paste the API key into
gradle.properties
youtube.apiKey=<YOUTUBE_API_KEY>
- Create a project at https://developer.spotify.com/.
- Paste the client id/secret and redirect URI into
gradle.properties
spotify.clientId=<SPOTIFY_CLIENT_ID> spotify.clientSecret=<SPOTIFY_CLIENT_SECRET> spotify.redirectUri=<SPOTIFY_REDIRECT_URI>
- Make sure redirect URI matches intent filter data attribute inside app
AndroidManifest.xml
<activity android:name="net.openid.appauth.RedirectUriReceiverActivity" android:exported="true"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="<HOST FROM REDIRECT_URI>" android:path="<PATH FROM REDIRECT_URI>" android:scheme="app" /> </intent-filter> </activity>
Distributed under the MIT License. See LICENSE.md
for more information.