0
			return; 
		} 
 
		// stop preview before making changes 
		try { 
			mCamera.stopPreview();
		} catch (Exception e) {
			Log.d(LOG_TAG, "Unable to stop preview");
		} 
		Parameters p = mCamera.getParameters();
		mCamera.setDisplayOrientation(90);
		mCamera.setParameters(p);
		Log.d(LOG_TAG, "Surface changed");
 
		// set preview size and make any resize, rotate or 
		// reformatting changes here 
 
		// start preview with new settings 
		try { 
			mCamera.setPreviewDisplay(mholder);
			mCamera.startPreview();
			Log.d(LOG_TAG, "Starting camera preview ");
		} catch (IOException e) {
			Log.d(LOG_TAG, "Error starting camera preview " + e.getMessage());
		} catch (Exception e) {
			Log.d(LOG_TAG, "Error 2 starting camera preview " + e.getMessage());