• CalendarWrapper - a simple library above the CalendarProvider

    CalendarWrapper is a thin layer above the CalendarProvider, making able to access data via object methods, without the extra hassle of mapping cursors. (more)

  • RxJava and Android: working with subjects

    RxJava’s observers and observables offer a great way to manage multiple threads and async processes in Android development. Besides these, the library also offers subjects, which are perfect for long running async processes with periodic updates, consumed by multiple observers. (more)

  • RxJava and Android: error handling

    If you’re working with async processes, transparent error handling is a must for adequate user experience. This example is about calling a REST service, where error handling is particularly important: as networking is sensitive, it always requires some sort of retry, timeout and failure mechanism. RxJava is built for creating fault-tolerant apps, this tutorial will show you the basics. (more)

  • Using RxJava with Android

    This post is the first in a series about RxJava and Android. This tutorial will show you how to build a REST API client in Android with RxJava observables (and based on Square’s Retrofit). (more)

  • retrogram - a lightweight Instagram connector for Java and Android

    Connecting to third party services is an everyday task for an app developer, not to mention connecting to social networks. Most of us have a long standing way of authenticating the user, acquiring data and performing tasks. A good way to do this on Android with Facebook, LinkedIn and Twitter is Spring’s Social framework, which is sadly missing Instagram. This is why Gyula Voros, one of my teammates at Ready took his time and wrote a library, which he made available as an open source project on GitHub. The library is pretty lightweight, the only dependency is Square’s Retrofit, hence the name retrogram. This post will show you how to use said library in an Android application. (more)

  • QuickScroll: a customizable, always visible scrollbar for ListView and ExpandableListView

    Recently I had to create an app with a ListView and an always visible, customized scrollbar at the right side. The look and feel had to be similar to the native fastscroll of the ListView, with a handle and an indicator displaying the initials of the current content. So I created a View which is easy to reuse, and now I decided to make it available for everyone on Github. (more)

  • Creating a fullscreen DialogFragment with a custom background

    The default Dialogs (or rather the DialogFragments) look pretty good in Android since Honeycomb, but the default look-and-feel doesn’t go well together with all app designs. Not to mention sometimes you need a fully different layout, a custom background color, or a semitransparent background with no grey dimming at all. We’re talking about Android, where (almost) everything is possible, so there is a solution for this problem as well. (more)

  • Adding an ActionBar with the ActionBarActivity

    The unveiling of Android 4.3 was followed by the arrival of a new Support Library (revision 18). Besides adding new features to the v4 library, Google introduced a new compatibility element in v7, which aims to bring the ActionBar UI pattern to pre-Honeycomb platforms. Requires API level 7, aka Android 2.1 / Eclair. (more)