Skip to content

tomkoptel/radiotastic

Repository files navigation

CI status

Build Status

Description

Internet Radio client which was designed all around Dirble API.

User can easily navigate between main radio station categories grouped by music genre.

For specific station user can start playback and continue listening to it while app in background.

User also has an access to additional meta data like station bitrate and song history.

Song history

At the moment app doesn't provide any real time updates of song history. It simply consumes items from API and display them as it is.

Tribute

Dependencies list and reason for usages.

  1. Sub project pojo. Consumes jsonschema2json gradle plugin. Used for generating java classes on the basis of json. This classes lately mapped to json incoming from API. Library uses gson for deserializing json data to java objects.
  1. android-contentprovider-generator project used to generate content provider and associated model objects from json mapping. Generated classes lately used to provide convenient way of accessing data from cursor objects.
  1. appcompat-v7 provides backward compatibility of application to older versions of app. Also provides theme app consumes in purpose of implementing material design theme.
  1. pallete-v7 app uses during calculating swatches when station provides placeholder for station it extracts light color and applies it to the ImageView background.
  1. cardview-v7 custom view used to wrap detail station page.
  1. recyclerview-v7 used instead of ListView. Provides efficient and convenient way to display big data sets.
  1. dagger 2 dependency injection framework used to provide module system.
  1. retrofit squareup (https://squareup.com/) network library used to wrap Dirble API.
  1. okhttp-urlconnection squareup (https://squareup.com/) network library provides better control for http connection objects. With it app controls time out properties of network connections.
  1. picasso squareup (https://squareup.com/) image network library. Provides convenient way to upload and preview of images from network.
  1. timber log wrapper library from JakeWharton (http://jakewharton.com/) provides convenient way to control logging for debug and release build types. For instance app doesn`t provides log when app build as release one.
  1. logger another log wrapper library. Provides pretty logs when called during runtime.
  1. android-observablescrollview Android library to observe scroll events on scrollable views. It's easy to interact with the Toolbar introduced in Android 5.0 Lollipop and may be helpful to implement look and feel of Material Design apps.
  1. floatingactionbutton port of floating button from material design.
  1. nineoldandroids Android library for using the Honeycomb (Android 3.0) animation API on all versions of the platform back to 1.0!
  1. snackbar port of snack bar view from material design.
  1. recyclerview-flexibledivider library providing simple way to control divider items of RecyclerView
  1. textdrawable provides custom drawable with letter/text like in Gmail app
  1. androidannotations helps to reduce android boilerplate code through java annotations.
  1. dexmaker + mockito provides a convenient way to mock out object for test environment.
  1. mockwebserver helps to run server as localhost inside emulator environment.
  1. espresso used for functional testing. Though app doesn`t have one it. Still it consumes hamcrest dependency as transitive library for tests which comes pre packaged together with espresso.
  1. commons io copied source files for loading purpose of resource files during test environment setup.

During development of app I used following articles and repositories:

  1. https://github.com/cmc00022/easyrecycleradapters copied adapter into the app.

  2. https://gist.github.com/skyfishjy/443b7448f59be978bc59 copied source to use in conjunction with cursor object.

  3. https://github.com/ismoli/DynamicRecyclerView I`ve borrowed idea for single choice item port for recyclerview.

  4. https://github.com/ksoichiro/Android-ObservableScrollView/tree/master/samples copied sample source for paralax effect on station details page.

  5. https://github.com/google/iosched I`ve borrowed idea for sync algorithm used to compare cached data(which resides in database) with cloud one.

  6. http://jakewharton.com/coercing-picasso-to-play-with-palette/ used code to properly combine picasso with pallete library.

  7. https://developer.android.com/training/managing-audio/index.html used tips from training while developing playback service for streaming url.

  8. http://materialdesignicons.com/ copied some icons.

  9. http://romannurik.github.io/AndroidAssetStudio/ used for project launcher icon.

  10. http://www.materialpalette.com/ used colors from this resource as the base for material design.

  11. http://www.google.com/design/spec/material-design/introduction.html was one of the guides I`ve used while developing design.

  12. http://stackoverflow.com/questions/27661305/material-design-suggestions-for-lists-with-avatar-with-text-and-icon was referencing to this answer while developing design for list items.

  13. While exploring main concepts behind dependency injection framework I was refering to this list of resources

  1. https://github.com/udacity/Sunshine borrowed solution for separating UI implementation for both tablet and handset. Took idea of integration tests. Used as reference while implementing sync task.

  2. http://rkistner.github.io/android/2013/02/05/android-builds-on-travis-ci/ referred to this article when was setting up Travi CI environment.

  3. Default violet art which is used as thumbnail in app was copied from this project

About

Android client for consuming dirble API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages