Code samples from DroidCon presentation.