This is the app for the first and second projects in the Udacity Android Nanodegree program. It is an app that lets users search for musicians in Spotify, see their top songs, and listen to 30-second previews. It makes use of the Spotify API for all of its data and audio streams.
For phones the app makes use of three separate activities that flow from one to the next.
A user can enter an artist to search for and the app will display the results in a list.
After tapping on an artist from the Artist Search activity the app will display a list of the artist's top songs.
After tapping on a song the app will render all the information it has about the song in an audio player. The player allows the user to start and stop playback of a 30-second preview of the song, skip to the next or previous song in the Top Songs list, and provides a scrub-bar to let the user scrub the playback position.
For tablets the app combines a Master Detail Flow with a Dialog Fragment to achieve the same functionality as the phone.