Code example for LocationClient

Methods: requestLocationUpdates

0
	public void onConnectionFailed(ConnectionResult arg0) {
	} 
 
	@Override 
	public void onConnected(Bundle arg0) {
		mLocationClient.requestLocationUpdates(mLocationRequest, this);		
	} 
 
	@Override 
	public void onDisconnected() { 
	} 
 
	@Override 
	public void onLocationChanged(Location loc) 
	{ 
		lat = loc.getLatitude();
		lng = loc.getLongitude();
		if(lat!=0.0 && lng!=0.0)
		{ 
			if(Ltid != lat && lgid != lng)
			{