Code example for LocationClient

Methods: requestLocationUpdates

	public void onConnected(Bundle bundle) {
		Log.d(TAG,"Connected to Location Services.");
		//Toast.makeText(activity,"connected", Toast.LENGTH_SHORT); 
			locationClient.requestLocationUpdates(location_request, this);
     * Called by Location Services if the connection to the 
     * location client drops because of an error. 
	public void onDisconnected() { 
		Log.d(TAG,"Disconnected from Location Services.");
		//Toast.makeText(activity, "onDisconnected", Toast.LENGTH_SHORT); 
     * Called by Location Services if the attempt to 
     * Location Services fails. 
     * See the implementation in both the cases