i am very new to android programming. i tried running the voice recognition demo app and at this point in the code
Using java Syntax Highlighting
- // Check to see if a recognition activity is present
- PackageManager pm = getPackageManager();
- List<ResolveInfo> activities = pm.queryIntentActivities(
- new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);
- if (activities.size() != 0) {
- speakButton.setOnClickListener(this);
- } else {
- speakButton.setEnabled(false);
- speakButton.setText("Recognizer not present");
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
I am always getting the following: "Recognizer not present"
i used the SDK to create the targets and am using the emulator on platform "android-2.0.1" (on windows)
any help would be great
thanks in advance

