Code example for SpeechRecognizer

Methods: stopListening

0
 
	/** 
	 * stop speech recognizer 
	 */ 
	public void stopSpeechRecognizer() { 
		mSpeechRecognizer.stopListening();
	} 
 
	/** 
	 * start application and service 
	 */ 
	public static void start() { 
		if (isRuning == true)
			return; 
 
		isRuning = true;
 
		// initial log 
		Log4J.mLevel = Settings.Log4J.mLevel; 
 
		// start Service