My Profile Photo

Mostly Android


Also, algorithms, programming and open-source


  1. Download a File

    One-liners are pieces of code that allow to rapidly perform a rather complex function in only one line. …


  2. A Volley introduction - Part 2

    Following the previous post, a slightly more complete demo of Volley. Past the trivial make-a-JSON-request use case, this post will show what happens when you want to add headers, authentication, body… and use custom requests. …


  3. String.format and Arabic numbers

    About a simple mistake that can be made in the use of String.format. To illustrate this very common mistake, some android code from the ContactsProvider. …


  4. A Volley introduction - Part 1

    A few days ago, during the Google I/O, Ficus Kilkpatrick presented Volley. Volley is an HTTP library that aims at removing lots of boilerplate code, simplifying the handling of images in lists, be faster, abstract the complexity of one or another HTTP client. …


  5. Map to ContentValues (Abusing Parcelable)

    This post is about removing some of the pain from inserting JSON into SQLite (or any Map thing to any ContentValues-based system) and vice-versa. …


  6. Cat versus Dogs!

    A few months ago I stumbled upon http://www.spotify.com/us/jobs/tech/ …