Skip to content

Scrobble is a wip music tracking and browsing app. It uses the Lastf.fm and spotify APIs to deliver data. The whole UI is created using Jetpack compose.

License

Notifications You must be signed in to change notification settings

nschnettler/Compose-Scrobbler

Repository files navigation

Scrobble (WIP, name not final)

Scrobble is a wip music tracking and browsing app. It uses the Lastf.fm API to realize music tracking and browsing and the Spotify API for additional artist artwork.

This app is very much work in progress and still in heavy development. Im building this app to learn Android development using best practises and also cutting edge technologies.

Development Setup

The project requires a version of Android Studio which supports Jetpack Compose. Currently it is supported by Android Studio 4.2 Canary.

API Keys

The app uses various APIs to deliver dynamic data. You need to supply your own API keys for Last.fm and Spotify.

After you obtained the api keys you can provide them to the app by putting the following in the gradle.properties file in your user home:

# Get these from Last.fm
lastfmKey = <insert>
lastFmSecret = <insert>

# Get this from Spotify
spotifyAuth = <insert>

Linux/Mac: ~/.gradle/gradle.properties Windows: C:\Users\USERNAME\.gradle

Architecture

• Dependency Injection: Dagger Hilt

app (User Interface)

• 1 Activity, no Fragments

• UI Toolkit: Jetpack Compose

• Image Loading: Coil

• Viewmodel: Jetpack Viewmodel

database (Local Data Source)

• SQLite abstraction: Jetpack Room

lastfm (Remote Data Source)

• HTTP Client: Retrofit

• Json Parser: Moshi

repo (Repository)

• Data loading & cashing: Store

• Task schedule and execution: Jetpack WorkManager

About

Scrobble is a wip music tracking and browsing app. It uses the Lastf.fm and spotify APIs to deliver data. The whole UI is created using Jetpack compose.

Topics

Resources

License

Stars

Watchers

Forks

Languages