Tuesday, 13 December 2016

EasyLocation

Getting location updates requires lots of boilerplate code in Android, You need to take care of

  • Google Play services availability Check, Update Google play Service Dialog
  • Creation of GoogleApiClient and its callbacks connected,disconnected etc.
  • Stopping and releasing resources for location updates
  • Handling Location permission scenarios
  • Checking Location services are On or Off
  • Getting last known location is not so easy either
  • Fallback to last known location if not getting location after certain duration



from The Android Arsenal

No comments:

Post a Comment