Tampanada Radio

Tampanada means hit in pallarese and gives its name to this little radio station created by a group of people from Pallars to spread news and culture of that place, always with a touch of humor.

The website offers the visitors information about the project, as well as the possibility to listen live streaming and podcasts.

We also decided to develop native mobile applications to make the radio easier to listen.

Android

Main Activity Foreground Service

First release is very simple: just a play/pause button and a foreground service to play online streaming. It uses google’s ExoPlayer as player engine. That player is managed by a service, which communicates its state to the activity broadcasting messages and also shows a foreground notification with a little player menu. ExoPlayer’s retry policy has been overriden to improve network errors recovery.

Project code is available on Github and can be easily tunned to create your own radio station (feel free to do it!). Application is already available on Google Play Store.

iOS

Main ViewController

iOS app was easier to develop in this case because AVPlayer already handles background player. I used ModernAVPlayer which is an AVPlayer wrapper that handles retries when network errors occur.

Project code is also available on Github and can be easily tunned to create your own radio station too. Application is already available on App Store.