Location and maps-based applications are compelling for mobile device users.
You can build application by android.location packages and com.google.android.maps.MapView which is sub class of ViewGroup in Andorid.
Location Services :
1.Android gives your applications access to the location services supported by the device through the classes in the android.location package.
2.The central component of the location framework is the LocationManager system service, which provides APIs to determine location and bearing of the underlying device (if available).
You do not instantiate a LocationManager directly. Rather, you request an instance from the system by calling getSystemService(Context.LOCATION_SERVICE). The method returns a handle to a new LocationManager instance.
Once your application has a LocationManager, your application is able to do three things:
1.we can Query for the list of all LocationProviders for the last known user location.
2.Register/unregister for periodic updates of the user's current location from a location provider .
3.Register/unregister for a given Intent to be fired if the device comes within a given proximity (specified by radius in meters) of a given lat/long.
Next Post we will see this location services with Examples.