ADT sample code from API 18 Connectivity applications