Code example for MediaRecorder

Methods: releaseresetstop

0
		try  
		{ 
			WazeLog.d( "Stop recording file" ); 
			if ( mMR != null )
			{ 
				mMR.stop();
				mMR.reset();
				mMR.release();
				mMR = null;
			} 
		}  
		catch ( Exception ex ) 
		{ 
			WazeLog.ee( "Error stopping media recorder", ex );			
		}  
	} 
	 
	 
    /************************************************************************************************* 
     * CompatabilityWrapper the compatability wrapper class used to overcome dalvik delayed   
     * class loading. Supposed to be loaded only for android 2.2+.