Code example for AppStateClient

Methods: disconnect

0
		} 
	} 
 
	@Override 
	protected void onStop() { 
		appStateClient.disconnect();
		 
		super.onStop(); 
	} 
 
	@Override 
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.main, menu);
		return true; 
	} 
	 
	//------------------------------------------------------------------------------ 
	// ConnectionCallback  
	 
	// Callback ConnectionCallbacks, 
	@Override