This Android Location Services helper class will allow you to quickly and easily retrieve location data in your Android application. To utilise this code create a new class in your Android project called LocationHelper and paste the code from this link in to it.