Sample code from my talk at the mobile tech conference