My Companies

Bonjour!I'm Sapan, a Switzerland based software developer and what I enjoy the most is developing for iOS and Android. Among other things, I also work on Shyahi trying to make it easy to present a unified presence across all social networks.

If you've ever tried setting up a UITextView in Storyboard, you might already know that it's an annoying task. The customizations don't work often and it's easy to mistakenly clear all styles with no way of coming back (unless of course you are using version control and don't have other…

This is the final of the 6 post series where we built a music player app from scratch. A quick recap of what we have done so far. We learned the basics of playing music using Media Player on Android. The Media Player is implemented in a Service so we…

Although this post is self-contained, you might be interested in reading the complete series on creating a music player for Android. First let's start with a description of what we want to achieve with this mini player. It should be simple enough to be embedded in all activities when the…

If you haven't followed other posts in the series, I recommend you do so before going on with this one. We have already set up a Service that can play music from the background, take care of reading local files as well as online streaming and created lock screen and…

If you are just starting out, I recommend reading the first (basics about Media playback on Android) and second (Creating a Service to Play Music in the background) parts before proceeding. This post will discuss how to show Media Player controls on the lock screen and the notifications. Managing a…

If you haven't read the first part, read it first to learn the basics about Media playback on Android. Playing music in the background If you want your media to play in the background while the user is interacting with other applications, then you must start a Service and control…