GitHub LinkedIn Feed

Drawing an Animated Timer in Android

Sep 24, 2015

Canvas drawing in Android can be an enormous topic to grasp, so setting yourself small achievable (albeit not practically useful) goals can be a great way to isolate things that you’re missing. Hence, this article will demonstrate how to draw and animate a simple countdown timer.

  • android
  • mobile

Fluent Operations on Collections in Java

Aug 30, 2015

As far as language features go, collections are a basic necessity in Java. You can add, remove and retrieve elements, but it has always frustrated me that more complex operations, like filtering or mapping, require lines of grotesque boilerplate code with iterators. A library that you may already be using can help. It’s called Guava. Before I go any further, I should mention that none of these problems exist in Java 8 with its shiny streams. Hence, this guide is only for the developers stuck in the yesteryear, because of either Android or some unupdatable legacy system.

  • java
  • functional-programming

Androidness is a Virtue

Aug 12, 2015

App design can be evaluated on various merits: ease of use, brand adherence, even simple attractiveness. What often gets ignored is the platform consistency — iOS designs being ported to Android with zero changes.

  • design
  • android
  • mobile

Drawables in Null-Safe Models

Jul 6, 2015

Storing an image inside of a model is as common as can be, however if that picture can take on local and remote guises, you may find yourself repeating the same conditional statements each time you display it, thus cluttering up your view logic. This article will describe a possible solution using a DrawableSource pattern relying on the “never return null” principle.

  • android
  • mobile

Code Coverage on Android with JaCoCo

Jun 23, 2015

Many articles have been written on code coverage since the feature was introduced to Android in vesion 0.10.0 of the Gradle plugin — I have no illusions about that. However, what frustrates me is having to look through several of them and even some Gradle documentation before you can get a full working solution. So here goes another article in an attempt to remedy that and save you time.

  • android
  • mobile
  • testing

Dagger 2: Even Sharper, Less Square

May 4, 2015

It was only a matter of time before version 2.0 of the well-known dependency injection library Dagger hit production and that seemed like a good reason to write an article about it. But first we’ll spend some time looking at the original Dagger.

  • android
  • mobile
  • java
  • talk

Kotlin, the Swift of Android

Aug 31, 2014

Well, not quite but let’s start from the beginning.

  • android
  • mobile
  • kotlin
  • talk

New Build System for Android (with Eclipse)

Oct 21, 2013

If you are an Android developer, you must have heard about the “new build system” by now, comprising of Gradle and a plugin to go with it, regardless of whether or not you have tried it.

  • android
  • mobile
  • gradle

Java Dethroned by C

Jul 7, 2012

This year’s Tiobe Index is out — an annual report gathered by the Dutch company TIOBE Software to measure the popularity of the major programming languages around the world — and this one packs a few headline-worthy stats.

  • java
  • clang

One More Thing 2012 — Main Conference

Jun 2, 2012

Exactly a week after the event, I finally have some time to cover the One More Thing 2012 conference that I was lucky enough to check out down in Melbourne last Saturday. Unfortunately, I could only catch the main conference on Saturday (May 26) therefore missing the mini-conferences on Friday, but oh well. Jump past the break for the full story.

  • ios
  • mobile
  • conference