Code example for SurfaceHolder

Methods: removeCallback

0
	@Override 
	/** 
	 * Stops receiving location updates and camera preview frames. 
	 */ 
	protected void onPause() { 
		hPreview.removeCallback(this);
		stopPreview(); 
		rLL.removeViewAt(1);
		DisableGPS(); 
		super.onPause(); 
	} 
 
	@Override 
	protected void onStop() { 
		super.onStop(); 
	} 
 
	/** 
	 * Starts the picture shot. 
	 */ 
	public void onClick(View arg0) {