diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 7b2e9b6c9..2d152ad10 100755 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -5,6 +5,7 @@ + results = resultsBundle - .getStringArrayList(RecognitionManager.RECOGNITION_RESULTS_STRING_ARRAY); + .getStringArrayList(RecognitionManager.RESULTS_RECOGNITION); mState = DEFAULT; final Map> alternatives = @@ -499,15 +489,12 @@ public class VoiceInput implements OnClickListener { mRecognitionView.finish(); } - public void onInit() { - mIsRecognitionInitialized = true; - if (mState == LISTENING) { - startListeningAfterInitialization(mStartListeningContext); - } + public void onPartialResults(final Bundle partialResults) { + // currently - do nothing } - public void onPartialResults(final Bundle partialResults) { - // TODO To add partial results as user speaks + public void onEvent(int eventType, Bundle params) { + // do nothing - reserved for events that might be added in the future } } }