Sample Code to Get Tilt Data from a Gear 2 Device.