Skip to content

How to get your current location in Android

The following is a reference implementation for retrieving your current geo-graphical location using your Android device. The following Helper class can be used in an activity to easily retrieve your the latitude and longitude for use with frameworks such as Google API v2 to show your location on a map.

Required permission:

Published inAndroidMobile

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *