6

I have not installed Google voice search in my android phone. I can not install it because it only available for US. But vilingo app woks well on my android phone. In my own voice recognition app it says "Recognizer not present".

this is the code i'm using from the android developer site.

    List<ResolveInfo> activities = pm.queryIntentActivities(
            intent, pm.MATCH_DEFAULT_ONLY);
    if (activities.size() == 0)
    {
        speakButton.setEnabled(false);
        speakButton.setText("Recognizer not present");
    }

why it returns empty list from above code?

Thanks a lot.

rwe
  • 177
  • 1
  • 1
  • 11
  • i download voice search and installed it. :) not it is working – rwe Dec 05 '11 at 06:13
  • 1
    Check out http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html and http://developer.android.com/reference/android/speech/RecognizerIntent.html it also depends on what android version and device model you are using on. – Vinod Maurya Dec 29 '11 at 11:22

2 Answers2

0

i downloaded voice search and installed it. :) now it is working

rwe
  • 177
  • 1
  • 1
  • 11
0
I think Update Your Devise Os , 


later try this link 


http://tutorials-android.blogspot.com/2011/10/android-basics-19-string-array-and.html
sravan
  • 5,303
  • 1
  • 31
  • 33