[android-developers] Re: Speech Recognition in Android

2012-07-20 Thread GregM
Hi,

This code library helps you with speech recognition and in particular has 
some nice code to help handle matching hard to match words using Soundex 
and Stemming and other things. Check it out here:

https://github.com/gast-lib/gast-lib

To get started quickly, I suggest just extending this 
Activityhttps://github.com/gast-lib/gast-lib/blob/master/library/src/root/gast/speech/SpeechRecognizingAndSpeakingActivity.java

Greg


On Thursday, June 23, 2011 9:22:36 PM UTC-4, davemac wrote:

 Recognizing speech is really hard to do well. What you get with 
 Google's Android Recognizer is pretty good. If you want to consider 
 another, you could look at Sphinx. 

 - dave 
 www.androidbook.com/proandroid3 

 On Jun 23, 6:05 pm, Droid rod...@gmail.com wrote: 
  The speech recogniser often makes mistakes, so you have to think about 
  how to handle wrong words. Otherwise its quite easy to feed voice 
  recognition to text. 
  There is lots of code on Google to do that. I have a loop that asks if 
  the text is correct or not. Well, it works fine, but most users do not 
  like using it unfortunately. I suppose because its slow. 
  
  On Jun 23, 9:30 am, khanh_qhi™ khanhqh20...@gmail.com wrote: 
  
  
  
   Hi, 
   I need build a small application about Speech Recognition based-on 
 Android 
   platform, such as: port speech input to text. 
   Hence, is there a way/open source that to do for this? 
  
   --- 
   Regards, 
   Khanh.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Speech Recognition

2012-04-17 Thread Anurag Pratap Singh
but in my board, I am only able to use this feature only for google
search. Can anyone tell me how to use this feature to invoke the
various other applications like : invoking camera, invoking a game
etc

On Apr 17, 7:31 pm, TreKing treking...@gmail.com wrote:
 On Mon, Apr 16, 2012 at 4:05 AM, Anurag Pratap Singh
 anurag1...@gmail.comwrote:

  I need to enable speech recognition on my board not only for the
  google search and maps but also for calling the various applications
  and text writing for messages and mails.

 OK. So what?http://www.catb.org/~esr/faqs/smart-questions.html

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Speech Recognition

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 1:50 PM, Anurag Pratap Singh
anurag1...@gmail.comwrote:

 but in my board, I am only able to use this feature only for google search.


If you are talking about Voice Actions, that is an app onto itself and
has more commands than just search, but is limited. Google Android Voice
Actions for more info.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Speech Recognition

2012-04-17 Thread Anurag Pratap Singh
Thanks for the infoby any chance can you also tell me where can i
find the java application code for this file...because i want to
perform some different kind of operation with this.

Thanks in advance.

On Apr 17, 11:59 pm, TreKing treking...@gmail.com wrote:
 On Tue, Apr 17, 2012 at 1:50 PM, Anurag Pratap Singh
 anurag1...@gmail.comwrote:

  but in my board, I am only able to use this feature only for google search.

 If you are talking about Voice Actions, that is an app onto itself and
 has more commands than just search, but is limited. Google Android Voice
 Actions for more info.

 --- 
 --
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Speech Recognition

2012-04-17 Thread TreKing
On Tue, Apr 17, 2012 at 10:41 PM, Anurag Pratap Singh
anurag1...@gmail.comwrote:

 Thanks for the infoby any chance can you also tell me where can i find
 the java application code for this file...


It's not a file, nor is the source available, AFAIK.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Speech Recognition in Android

2011-06-23 Thread Pent
 I need build a small application about Speech Recognition based-on Android
 platform, such as: port speech input to text.
 Hence, is there a way/open source that to do for this?

http://developer.android.com/reference/android/speech/RecognizerIntent.html

Pent

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition in Android

2011-06-23 Thread Droid
The speech recogniser often makes mistakes, so you have to think about
how to handle wrong words. Otherwise its quite easy to feed voice
recognition to text.
There is lots of code on Google to do that. I have a loop that asks if
the text is correct or not. Well, it works fine, but most users do not
like using it unfortunately. I suppose because its slow.





On Jun 23, 9:30 am, khanh_qhi™ khanhqh20...@gmail.com wrote:
 Hi,
 I need build a small application about Speech Recognition based-on Android
 platform, such as: port speech input to text.
 Hence, is there a way/open source that to do for this?

 ---
 Regards,
 Khanh.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition in Android

2011-06-23 Thread davemac
Recognizing speech is really hard to do well. What you get with
Google's Android Recognizer is pretty good. If you want to consider
another, you could look at Sphinx.

- dave
www.androidbook.com/proandroid3

On Jun 23, 6:05 pm, Droid rod...@gmail.com wrote:
 The speech recogniser often makes mistakes, so you have to think about
 how to handle wrong words. Otherwise its quite easy to feed voice
 recognition to text.
 There is lots of code on Google to do that. I have a loop that asks if
 the text is correct or not. Well, it works fine, but most users do not
 like using it unfortunately. I suppose because its slow.

 On Jun 23, 9:30 am, khanh_qhi™ khanhqh20...@gmail.com wrote:



  Hi,
  I need build a small application about Speech Recognition based-on Android
  platform, such as: port speech input to text.
  Hence, is there a way/open source that to do for this?

  ---
  Regards,
  Khanh.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition Help

2010-12-06 Thread pangratz
Hello!

I am interested in such a behavior too. Have you gained any additional
information on that topic?

Cheers,
me

On Oct 11, 1:36 pm, designer_uk tankhan...@googlemail.com wrote:
 Hey guys,

 I was wondering if anyone of you can start me off on this.

 I want to create aSpeechRecognitionapp that, when turned on, is
 always listening (even while sleeping) until it is manually turned
 off. Even if it doesn't recognise something or it dooesn't hear
 anything it should NOT prompt the user to retry or cancel and just
 keep listening. Once it recognises a command it should execute it and
 go back to listening again. I want it like totally hands free.

 Can anyone please start me off with the code for this, java, xml etc,
 I use Eclipse. I'll be honest, I'm new to coding and stuff but once I
 get started I'm ok on my own.

 Thanks,
 Tan

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech recognition without connecting to google?

2010-07-29 Thread Kritz
I have been trying this exact same thing. The application I am
creating only have a few simple commands and doing the recognition
locally on the phone would produce much quicker results.

I downloaded the VoiceDailer application from http://android.git.kernel.org/,
but the code uses a Recognizer Class that I don't know where to get.
If anybody knows where to get this class or as John said, know of any
other method to do speech recognition without a data connection,
please share your knowledge.

Thanks
Chris

On Jul 23, 7:42 pm, RespeckKnuckles (John Licato)
respeckknuckl...@gmail.com wrote:
 Hello,

 I am developing on an android 2.1 build. I am trying to 
 usespeechrecognitionin my application but the whole process of connecting to
 google each time gets very annoying. I have noticed that the voice
 dialing does not seem to connect to google (I've tried it in an area
 with no reception or wifi and it worked). Is there a way to 
 dospeechrecognitionusing whatever local methods voice dialing uses? (Or any
 other methods that don't require the constant disconnecting /
 reconnecting to google).

 John Licato

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition

2010-06-29 Thread carlrice
You need the Voice Search application installed. Some phones don't
ship with this, it's not in the market and I don't think there is a
legit channel to obtain VoiceSearch.apk (but it's out there) which is
turning out to be a problem for me too on some Sense UI phones.

Side note, if anyone reading this can clarify on distribution and/or
availability of this APK, please let me know! These phones are
capable, they just don't ship with the software needs to VR.

I always debug voice input on a phone so I am not sure how well this
would work in an emulator, but its a lead non the less! Hope you find
something that works.

On Jun 2, 9:54 am, GregM grego...@gmail.com wrote:
 Someone please answer this question!

 On May 24, 7:35 pm, minhaz minh...@gmail.com wrote:



  Hi

  In my emulator isRecognitionAvailable method from SpeechRecognizer
  class returns false and also when i run VoiceRecognition.java sample
  code on API level 8 platform 2.2 i got Recognizernot present
  message. Any idea hints whats going on?

  If problem isSpeechrecognition is not available in my emulator then
  how to install it in my virtual device?

  regards,

  /minhaz

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition

2010-06-02 Thread GregM
Someone please answer this question!

On May 24, 7:35 pm, minhaz minh...@gmail.com wrote:
 Hi

 In my emulator isRecognitionAvailable method from SpeechRecognizer
 class returns false and also when i run VoiceRecognition.java sample
 code on API level 8 platform 2.2 i got Recognizer not present
 message. Any idea hints whats going on?

 If problem is Speech recognition is not available in my emulator then
 how to install it in my virtual device?

 regards,

 /minhaz

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech recognition: prevent or automatically handle No matches found dialog

2010-05-28 Thread GregM
You still can't give the speech recognizer a grammar, so you can't
tell it what to expect. You are right though, even some canned, yes/no/
cancel or digit recognizers would be a huge help. Android has an
AlertDialogBuilder, why not have a SpeechDialogBuilder with some
simple options?

The good news is that it appears that the 2.2 api does give us far
greater control over the recognition dialog. For that I am quite
overjoyed.

On May 26, 5:18 pm, moa mich...@jixel.com wrote:
 have the 2.2 api changes done anything to help with this?

 Another feature I always wanted was the ability to define the valid
 responses for the engine to match against; yes/no and so. so you don;t
 get things like snow coming back as a response.

 Also, defining digit recognition only and so.

 Don't see any movement on this yet :(

 On May 19, 1:10 am,GregMgrego...@gmail.com wrote:



  I had this same problem. Since the speechrecognitionrequires
  clicking the dialog window when an error occurs, my app cannot be
  truely hands free. This is a big problem if you are trying to use
  speechrecognitionto save the user from having to look at the device.

  Calling finishactivity works but I hope google will add better
  controls in the future.

  Greg

  On May 18, 12:48 pm, pac patty.c...@gmail.com wrote:

   Thanks for your information.

   I ended up having the app sleep for several seconds and then do a
   finishActivity() because if nothing happened by then, some error must
   have occurred.

   On Apr 20, 2:28 pm, Dianne Hackborn hack...@android.com wrote:

Sorry, the current API does not provide this kind of control.

On Tue, Apr 20, 2010 at 10:45 AM, pac patty.c...@gmail.com wrote:
 My speechrecognitionapp needs to work without human intervention, so
 the situations where the No speech heard or the No matches found
 dialogs come up and require a button press are a problem.

 Is there a way to prevent this dialog from displaying?

 Is there a way to programming perform the button click?

 Is there a way to programmatically close the dialog?

 This is how I'm firing the RecognizerIntent:

        Intent intent= new
 Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
        intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
                        RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
        intent.putExtra(RecognizerIntent.EXTRA_PROMPT, Speech
recognitiondemo);
        startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs
  cr...@googlegroups.com
 For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see 
and
answer them.

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group 
athttp://groups.google.com/group/android-developers?hl=en

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group 
   athttp://groups.google.com/group/android-developers?hl=en

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech recognition: prevent or automatically handle No matches found dialog

2010-05-26 Thread moa
have the 2.2 api changes done anything to help with this?

Another feature I always wanted was the ability to define the valid
responses for the engine to match against; yes/no and so. so you don;t
get things like snow coming back as a response.

Also, defining digit recognition only and so.

Don't see any movement on this yet :(



On May 19, 1:10 am, GregM grego...@gmail.com wrote:
 I had this same problem. Since the speechrecognitionrequires
 clicking the dialog window when an error occurs, my app cannot be
 truely hands free. This is a big problem if you are trying to use
 speechrecognitionto save the user from having to look at the device.

 Calling finishactivity works but I hope google will add better
 controls in the future.

 Greg

 On May 18, 12:48 pm, pac patty.c...@gmail.com wrote:



  Thanks for your information.

  I ended up having the app sleep for several seconds and then do a
  finishActivity() because if nothing happened by then, some error must
  have occurred.

  On Apr 20, 2:28 pm, Dianne Hackborn hack...@android.com wrote:

   Sorry, the current API does not provide this kind of control.

   On Tue, Apr 20, 2010 at 10:45 AM, pac patty.c...@gmail.com wrote:
My speechrecognitionapp needs to work without human intervention, so
the situations where the No speech heard or the No matches found
dialogs come up and require a button press are a problem.

Is there a way to prevent this dialog from displaying?

Is there a way to programming perform the button click?

Is there a way to programmatically close the dialog?

This is how I'm firing the RecognizerIntent:

       Intent intent= new
Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
       intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
                       RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
       intent.putExtra(RecognizerIntent.EXTRA_PROMPT, Speech
   recognitiondemo);
       startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs
 cr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

   --
   Dianne Hackborn
   Android framework engineer
   hack...@android.com

   Note: please don't send private questions to me, as I don't have time to
   provide private support, and so won't reply to such e-mails.  All such
   questions should be posted on public forums, where I and others can see 
   and
   answer them.

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group 
   athttp://groups.google.com/group/android-developers?hl=en

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech recognition: prevent or automatically handle No matches found dialog

2010-05-18 Thread pac
Thanks for your information.

I ended up having the app sleep for several seconds and then do a
finishActivity() because if nothing happened by then, some error must
have occurred.

On Apr 20, 2:28 pm, Dianne Hackborn hack...@android.com wrote:
 Sorry, the current API does not provide this kind of control.



 On Tue, Apr 20, 2010 at 10:45 AM, pac patty.c...@gmail.com wrote:
  My speech recognition app needs to work without human intervention, so
  the situations where the No speech heard or the No matches found
  dialogs come up and require a button press are a problem.

  Is there a way to prevent this dialog from displaying?

  Is there a way to programming perform the button click?

  Is there a way to programmatically close the dialog?

  This is how I'm firing the RecognizerIntent:

         Intent intent= new
  Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
         intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
                         RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
         intent.putExtra(RecognizerIntent.EXTRA_PROMPT, Speech
  recognition demo);
         startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech recognition: prevent or automatically handle No matches found dialog

2010-05-18 Thread GregM
I had this same problem. Since the speech recognition requires
clicking the dialog window when an error occurs, my app cannot be
truely hands free. This is a big problem if you are trying to use
speech recognition to save the user from having to look at the device.

Calling finishactivity works but I hope google will add better
controls in the future.

Greg

On May 18, 12:48 pm, pac patty.c...@gmail.com wrote:
 Thanks for your information.

 I ended up having the app sleep for several seconds and then do a
 finishActivity() because if nothing happened by then, some error must
 have occurred.

 On Apr 20, 2:28 pm, Dianne Hackborn hack...@android.com wrote:





  Sorry, the current API does not provide this kind of control.

  On Tue, Apr 20, 2010 at 10:45 AM, pac patty.c...@gmail.com wrote:
   My speech recognition app needs to work without human intervention, so
   the situations where the No speech heard or the No matches found
   dialogs come up and require a button press are a problem.

   Is there a way to prevent this dialog from displaying?

   Is there a way to programming perform the button click?

   Is there a way to programmatically close the dialog?

   This is how I'm firing the RecognizerIntent:

          Intent intent= new
   Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
          intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
                          RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
          intent.putExtra(RecognizerIntent.EXTRA_PROMPT, Speech
   recognition demo);
          startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs
cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

  --
  Dianne Hackborn
  Android framework engineer
  hack...@android.com

  Note: please don't send private questions to me, as I don't have time to
  provide private support, and so won't reply to such e-mails.  All such
  questions should be posted on public forums, where I and others can see and
  answer them.

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition Problem

2010-02-02 Thread Petar K.
Hello Sai,

I tested it using wifi and I tested for only english. I tried changing
the default to be french and I tested it in Toronto and it worked
fine. So I don't think the default language is the reason. The issue,
I believe, is the communication with the google server. Once I start
the speech recognition in Paris and say a word I do not get any
responses back using the getStringArrayListExtra
(RecognizerIntent.EXTRA_RESULTS) method. I also do not get any error.
Is there any other setting I need to change because I am in France
instead of North America? I will be heading back to Paris in a couple
of weeks to do some more testing hopefully I will find the root of the
problem before this. Any suggestions would be great.

Thanks,

Petar K

On Jan 27, 4:31 pm, nutricheck sai...@gmail.com wrote:
 Hi Petar
 As far I know the Recognizer intent has a default language setting to
 EN_US and talks to google servers forspeechdata.
 So two questions arise

 1) Did you have internet connectivity (wifi or 3G)  when you did
 this ?
 2) You tested yourspeechfor English and not French ?

 I would like to know what you find..

 Have a great day !
 Sai

 On Jan 26, 3:29 pm, Petar K. petar.krama...@gmail.com wrote:

  Hello, I have an issue that I have ran into and was wondering if
  anyone can help. I recently developed an app (Android 1.6) that uses
 speechrecognitionto detect what the user is saying. Based on what
  the user says certain options are displayed. When I ran my app in
  North America (Toronto, Canada to be exact) everything runs fine and
  there is no issue.SpeechRecognitionworks perfectly and it detects
  exactly what I say. However I recently went to Paris, France and
  tested my app, this time unfortunately theSpeechRecognitiondid not
  work. I did not receive any error or anything, it simply did not
  recognize what I was saying. If anyone can provide me with any
  assistance that would be great. Thanks.

  Petar K.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition Problem

2010-01-27 Thread nutricheck
Hi Petar
As far I know the Recognizer intent has a default language setting to
EN_US and talks to google servers for speech data.
So two questions arise

1) Did you have internet connectivity (wifi or 3G)  when you did
this ?
2) You tested your speech for English and not French ?

I would like to know what you find..

Have a great day !
Sai

On Jan 26, 3:29 pm, Petar K. petar.krama...@gmail.com wrote:
 Hello, I have an issue that I have ran into and was wondering if
 anyone can help. I recently developed an app (Android 1.6) that uses
 speech recognition to detect what the user is saying. Based on what
 the user says certain options are displayed. When I ran my app in
 North America (Toronto, Canada to be exact) everything runs fine and
 there is no issue. Speech Recognition works perfectly and it detects
 exactly what I say. However I recently went to Paris, France and
 tested my app, this time unfortunately the Speech Recognition did not
 work. I did not receive any error or anything, it simply did not
 recognize what I was saying. If anyone can provide me with any
 assistance that would be great. Thanks.

 Petar K.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition makes a beep when the user Cancels. This is bad.

2009-11-15 Thread AngelOD
Wouldn't it be enough to have a small pause after cancellation, before
starting to listen again? Or have you already tried this?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition

2009-11-02 Thread moa
Hmmm... it's not the most workable solution ever. Could get a big list
of if-maybe-but's quite quickly.

Most of the SR i've used before seem to have the concept of plug-in
lists of vocabulary that the engine matches against. This would seem
by far the best way to handle commands rather than just free from
recognition. If this is not possible now, is it coming in the future?



On Nov 2, 2:23 am, Carmen Delessio carmendeles...@gmail.com wrote:
 I tried to whittle down GREATER THAN responses by doing this:
                 queryHeard=queryHeard.replaceAll(greater than,);
                 queryHeard=queryHeard.replaceAll(greater then,);
                 queryHeard=queryHeard.replaceAll(crater than,);
                 queryHeard=queryHeard.replaceAll(craters than,);
                 queryHeard=queryHeard.replaceAll(crater then,);
                 queryHeard=queryHeard.replaceAll(craters then,);

 I'll have to check out retainAll

 Carmen
 --
 Carmenhttp://www.twitter.com/CarmenDelessiohttp://www.talkingandroid.comhttp://www.facebook.com/BFFPhotohttp://www.twitter.com/DroidDrop

 On Sun, Nov 1, 2009 at 8:57 PM, davemac davemac...@gmail.com wrote:
  Once you get back the set of responses you could filter them down to
  those in your valid commands set. Try the retainAll() method on
  matches using your valid commands as the argument. You'll probably
  either get one or zero elements left in matches every time. The same
  thing should work for numbers.

  - dave

  On Nov 1, 5:36 pm, moa mich...@jixel.com wrote:
   I want to use the SR api to handle commands in my application. I know
   at any given point in my application what the valid commands would be
   at that point so would like to limit the results that the SR is
   matched against.

   For example, if the only valid commands were Yes or No I would
   like to be able to restrict the SR to only try and match against those
   two words. Otherwise on full vocabulary I get Snow and other false
   words. Limiting the vocabulary should make matching 90%+ accurate on
   limited words.

   Is this possible?

   Also, can I limit the SR to only match numerics for number input only?

   The internal dialer seems to be able to do this sort of this, so can
   I?

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition

2009-11-02 Thread moa
Additional (I forgot) , limited vocabulary recognition also tends to
make the process much faster too, which is another advantage for using
this method for commands on a mobile device.

On Nov 2, 12:22 pm, moa mich...@jixel.com wrote:
 Hmmm... it's not the most workable solution ever. Could get a big list
 of if-maybe-but's quite quickly.

 Most of the SR i've used before seem to have the concept of plug-in
 lists of vocabulary that the engine matches against. This would seem
 by far the best way to handle commands rather than just free from
 recognition. If this is not possible now, is it coming in the future?

 On Nov 2, 2:23 am, Carmen Delessio carmendeles...@gmail.com wrote:

  I tried to whittle down GREATER THAN responses by doing this:
                  queryHeard=queryHeard.replaceAll(greater than,);
                  queryHeard=queryHeard.replaceAll(greater then,);
                  queryHeard=queryHeard.replaceAll(crater than,);
                  queryHeard=queryHeard.replaceAll(craters than,);
                  queryHeard=queryHeard.replaceAll(crater then,);
                  queryHeard=queryHeard.replaceAll(craters then,);

  I'll have to check out retainAll

  Carmen
  --
  Carmenhttp://www.twitter.com/CarmenDelessiohttp://www.talkingandroid.comhtt...

  On Sun, Nov 1, 2009 at 8:57 PM, davemac davemac...@gmail.com wrote:
   Once you get back the set of responses you could filter them down to
   those in your valid commands set. Try the retainAll() method on
   matches using your valid commands as the argument. You'll probably
   either get one or zero elements left in matches every time. The same
   thing should work for numbers.

   - dave

   On Nov 1, 5:36 pm, moa mich...@jixel.com wrote:
I want to use the SR api to handle commands in my application. I know
at any given point in my application what the valid commands would be
at that point so would like to limit the results that the SR is
matched against.

For example, if the only valid commands were Yes or No I would
like to be able to restrict the SR to only try and match against those
two words. Otherwise on full vocabulary I get Snow and other false
words. Limiting the vocabulary should make matching 90%+ accurate on
limited words.

Is this possible?

Also, can I limit the SR to only match numerics for number input only?

The internal dialer seems to be able to do this sort of this, so can
I?

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition

2009-11-02 Thread Jayd16
Hmmm, You can set what language to use.  Can you create a locale with
a dictionary of only the words you want?  That would be the most
efficient way to do this.  The other way is to look for yes or no in
the list if extra words.  It might be a performance hit but it will
give you less falls negatives.

On Nov 1, 2:36 pm, moa mich...@jixel.com wrote:
 I want to use the SR api to handle commands in my application. I know
 at any given point in my application what the valid commands would be
 at that point so would like to limit the results that the SR is
 matched against.

 For example, if the only valid commands were Yes or No I would
 like to be able to restrict the SR to only try and match against those
 two words. Otherwise on full vocabulary I get Snow and other false
 words. Limiting the vocabulary should make matching 90%+ accurate on
 limited words.

 Is this possible?

 Also, can I limit the SR to only match numerics for number input only?

 The internal dialer seems to be able to do this sort of this, so can
 I?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Speech Recognition

2009-11-01 Thread davemac
Once you get back the set of responses you could filter them down to
those in your valid commands set. Try the retainAll() method on
matches using your valid commands as the argument. You'll probably
either get one or zero elements left in matches every time. The same
thing should work for numbers.

- dave

On Nov 1, 5:36 pm, moa mich...@jixel.com wrote:
 I want to use the SR api to handle commands in my application. I know
 at any given point in my application what the valid commands would be
 at that point so would like to limit the results that the SR is
 matched against.

 For example, if the only valid commands were Yes or No I would
 like to be able to restrict the SR to only try and match against those
 two words. Otherwise on full vocabulary I get Snow and other false
 words. Limiting the vocabulary should make matching 90%+ accurate on
 limited words.

 Is this possible?

 Also, can I limit the SR to only match numerics for number input only?

 The internal dialer seems to be able to do this sort of this, so can
 I?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Speech Recognition

2009-11-01 Thread Carmen Delessio
I tried to whittle down GREATER THAN responses by doing this:
queryHeard=queryHeard.replaceAll(greater than,);
queryHeard=queryHeard.replaceAll(greater then,);
queryHeard=queryHeard.replaceAll(crater than,);
queryHeard=queryHeard.replaceAll(craters than,);
queryHeard=queryHeard.replaceAll(crater then,);
queryHeard=queryHeard.replaceAll(craters then,);

I'll have to check out retainAll

Carmen
-- 
Carmen
http://www.twitter.com/CarmenDelessio
http://www.talkingandroid.com
http://www.facebook.com/BFFPhoto
http://www.twitter.com/DroidDrop


On Sun, Nov 1, 2009 at 8:57 PM, davemac davemac...@gmail.com wrote:

 Once you get back the set of responses you could filter them down to
 those in your valid commands set. Try the retainAll() method on
 matches using your valid commands as the argument. You'll probably
 either get one or zero elements left in matches every time. The same
 thing should work for numbers.

 - dave

 On Nov 1, 5:36 pm, moa mich...@jixel.com wrote:
  I want to use the SR api to handle commands in my application. I know
  at any given point in my application what the valid commands would be
  at that point so would like to limit the results that the SR is
  matched against.
 
  For example, if the only valid commands were Yes or No I would
  like to be able to restrict the SR to only try and match against those
  two words. Otherwise on full vocabulary I get Snow and other false
  words. Limiting the vocabulary should make matching 90%+ accurate on
  limited words.
 
  Is this possible?
 
  Also, can I limit the SR to only match numerics for number input only?
 
  The internal dialer seems to be able to do this sort of this, so can
  I?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Speech Recognition

2009-10-21 Thread jdesbonnet

Just got the Donut update for my Vodafone HTC Magic. Still no Voice
Recognition (Recognizer not present) :-(
Fingers crossed for Eclair.

On Aug 27, 2:40 pm, Nanard bsegon...@free.fr wrote:
 A question to all VR specialist in this list :-)   (and Google
 guys if they read tis)

 VR works/will work someday  but

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-08-27 Thread Nanard

A question to all VR specialist in this list :-)   (and Google
guys if they read tis)


VR works/will work someday  but

If I have a phone bought in the US for instance, my phone will
reconize American accent.
If I develop a VR application for the world.

Will my US phone have the necessary lib/param.  build in by default to
reconize other languages/accents ?

I don't need my US localized phone to reconize only US accent, but
other as well
And other localized phones (French, Spanish, German, etc) be able to
reconize other languages also.

Do you know what kind of app I have in mind ?  :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-08-06 Thread Shura_7_2

Hi ,
I tried this code too , and finally it work well.
And this is the things that i did.
After i took the code from sample . I create the xml file with needed
GUI.
After i received the message as you Recognizer not present and i
found that SDK 1.5 does not support VR so i
downloaded system.img file from the HTC site (for developper
pourpose). and then VR start work.
But by now i have other problem since i work on emulator and not on
the real device i received error message
when i try to activate microphone Audio problem 
Any suggestion what can it be ?

Regards,
Shura

On 11 יולי, 17:38, jdesbonnet jdesbon...@gmail.com wrote:
 I'm unclear about the availability of the voice recognition service. I
 tried the above example on my Vodafone branded HTC Magic (API version
 1.5) but it's Recognizer not present.  There seems to be no
 application in the Android Market that provides this service (unlike
 Text To Speech functionality which is installed by downloading an
 application).

 Any suggestions? Do I have to wait for the next major firmware update?

 Thanks,

 Joe.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-30 Thread moa

A couple of questions;

1. How does it work with numbers. Is it possible to limit the text
returned? If I wanted VR to listen for numbers can I get it to return
115 instead of one hundered and fifteen?

2. Is it possible to define/limit the dictionary of words which it
tries to match against? For example; if I new they could only respond
in 2 ways, hello and goodbye. Can you define that as the only words
to match, so I will only get those and not halo or good buy ?




On Jul 29, 10:24 pm, Dianne Hackborn hack...@android.com wrote:
 The platform only defines the API for voice recognition; because the current
 implementation we have is tied to Google services, this is not part of the
 base platform, so not available on all phones.  This is one of the reasons
 the API is a loosly-bound Intent protocol.



 On Wed, Jul 29, 2009 at 11:03 AM, moa mich...@jixel.com wrote:

  I think this is the situation. VR is part of cupcake 1.5, however,
  this has not been fully implemented on many current devices. UK
  vodafone for example. If your google search widget does bot have the
  microphone on it then I think your version of cupcake on the device
  does not have the relevent libraries needed to support VR.

  If you install some of the custom roms from xda you will see they have
  the mic icon on search. I think (although I have not got around to
  trying myself) that it will work fine on these.

  so, no mic icon on seach == no VR support.

  please correct me if i'm wrong, but that's my take.

  ps. what is the story with TTS (text to speech) is that in there too
  at all?

  On Jul 14, 6:25 pm, Steven shamilt...@gmail.com wrote:
   I figured out what was wrong. But like the commenter below I get the
   recognizer is not present displayed when I run my code in the
   emulator. I read that googlevoicesearch must be installed for
  thevoicerecognitionintent to work. Is this correct?
   -Steven

   On Jul 9, 6:08 pm, Mark Murphy mmur...@commonsware.com wrote:

Steven wrote:
 So when I use the code from voiceRecognition.java to see if it will
 work. I get and error with R.layout.voice_recognition as well as R.id

What are the error messages?

Also, remember that you cannot necessarily just grab bits of Java code
-- these errors are referring to items in a layout that may be missing.

 and when I try import com.example.android.apis.R it wants me to
  create
 the class.

That should be automatically built once we get the other problems above
fixed.

--
Mark Murphy (a Commons Guy)http://commonsware.com|
 http://twitter.com/commonsguy

Need help for your Android OSS project?http://wiki.andmob.org/hado

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-30 Thread Dianne Hackborn
Sorry, I don't know.

On Thu, Jul 30, 2009 at 1:54 AM, moa mich...@jixel.com wrote:


 A couple of questions;

 1. How does it work with numbers. Is it possible to limit the text
 returned? If I wanted VR to listen for numbers can I get it to return
 115 instead of one hundered and fifteen?

 2. Is it possible to define/limit the dictionary of words which it
 tries to match against? For example; if I new they could only respond
 in 2 ways, hello and goodbye. Can you define that as the only words
 to match, so I will only get those and not halo or good buy ?




 On Jul 29, 10:24 pm, Dianne Hackborn hack...@android.com wrote:
  The platform only defines the API for voice recognition; because the
 current
  implementation we have is tied to Google services, this is not part of
 the
  base platform, so not available on all phones.  This is one of the
 reasons
  the API is a loosly-bound Intent protocol.
 
 
 
  On Wed, Jul 29, 2009 at 11:03 AM, moa mich...@jixel.com wrote:
 
   I think this is the situation. VR is part of cupcake 1.5, however,
   this has not been fully implemented on many current devices. UK
   vodafone for example. If your google search widget does bot have the
   microphone on it then I think your version of cupcake on the device
   does not have the relevent libraries needed to support VR.
 
   If you install some of the custom roms from xda you will see they have
   the mic icon on search. I think (although I have not got around to
   trying myself) that it will work fine on these.
 
   so, no mic icon on seach == no VR support.
 
   please correct me if i'm wrong, but that's my take.
 
   ps. what is the story with TTS (text to speech) is that in there too
   at all?
 
   On Jul 14, 6:25 pm, Steven shamilt...@gmail.com wrote:
I figured out what was wrong. But like the commenter below I get the
recognizer is not present displayed when I run my code in the
emulator. I read that googlevoicesearch must be installed for
   thevoicerecognitionintent to work. Is this correct?
-Steven
 
On Jul 9, 6:08 pm, Mark Murphy mmur...@commonsware.com wrote:
 
 Steven wrote:
  So when I use the code from voiceRecognition.java to see if it
 will
  work. I get and error with R.layout.voice_recognition as well as
 R.id
 
 What are the error messages?
 
 Also, remember that you cannot necessarily just grab bits of Java
 code
 -- these errors are referring to items in a layout that may be
 missing.
 
  and when I try import com.example.android.apis.R it wants me to
   create
  the class.
 
 That should be automatically built once we get the other problems
 above
 fixed.
 
 --
 Mark Murphy (a Commons Guy)http://commonsware.com|
  http://twitter.com/commonsguy
 
 Need help for your Android OSS project?http://wiki.andmob.org/hado
 
  --
  Dianne Hackborn
  Android framework engineer
  hack...@android.com
 
  Note: please don't send private questions to me, as I don't have time to
  provide private support, and so won't reply to such e-mails.  All such
  questions should be posted on public forums, where I and others can see
 and
  answer them.
 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-29 Thread moa

I think this is the situation. VR is part of cupcake 1.5, however,
this has not been fully implemented on many current devices. UK
vodafone for example. If your google search widget does bot have the
microphone on it then I think your version of cupcake on the device
does not have the relevent libraries needed to support VR.

If you install some of the custom roms from xda you will see they have
the mic icon on search. I think (although I have not got around to
trying myself) that it will work fine on these.

so, no mic icon on seach == no VR support.

please correct me if i'm wrong, but that's my take.

ps. what is the story with TTS (text to speech) is that in there too
at all?




On Jul 14, 6:25 pm, Steven shamilt...@gmail.com wrote:
 I figured out what was wrong. But like the commenter below I get the
 recognizer is not present displayed when I run my code in the
 emulator. I read that googlevoicesearch must be installed for 
 thevoicerecognitionintent to work. Is this correct?
 -Steven

 On Jul 9, 6:08 pm, Mark Murphy mmur...@commonsware.com wrote:

  Steven wrote:
   So when I use the code from voiceRecognition.java to see if it will
   work. I get and error with R.layout.voice_recognition as well as R.id

  What are the error messages?

  Also, remember that you cannot necessarily just grab bits of Java code
  -- these errors are referring to items in a layout that may be missing.

   and when I try import com.example.android.apis.R it wants me to create
   the class.

  That should be automatically built once we get the other problems above
  fixed.

  --
  Mark Murphy (a Commons 
  Guy)http://commonsware.com|http://twitter.com/commonsguy

  Need help for your Android OSS project?http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-29 Thread Dianne Hackborn
The platform only defines the API for voice recognition; because the current
implementation we have is tied to Google services, this is not part of the
base platform, so not available on all phones.  This is one of the reasons
the API is a loosly-bound Intent protocol.

On Wed, Jul 29, 2009 at 11:03 AM, moa mich...@jixel.com wrote:


 I think this is the situation. VR is part of cupcake 1.5, however,
 this has not been fully implemented on many current devices. UK
 vodafone for example. If your google search widget does bot have the
 microphone on it then I think your version of cupcake on the device
 does not have the relevent libraries needed to support VR.

 If you install some of the custom roms from xda you will see they have
 the mic icon on search. I think (although I have not got around to
 trying myself) that it will work fine on these.

 so, no mic icon on seach == no VR support.

 please correct me if i'm wrong, but that's my take.

 ps. what is the story with TTS (text to speech) is that in there too
 at all?




 On Jul 14, 6:25 pm, Steven shamilt...@gmail.com wrote:
  I figured out what was wrong. But like the commenter below I get the
  recognizer is not present displayed when I run my code in the
  emulator. I read that googlevoicesearch must be installed for
 thevoicerecognitionintent to work. Is this correct?
  -Steven
 
  On Jul 9, 6:08 pm, Mark Murphy mmur...@commonsware.com wrote:
 
   Steven wrote:
So when I use the code from voiceRecognition.java to see if it will
work. I get and error with R.layout.voice_recognition as well as R.id
 
   What are the error messages?
 
   Also, remember that you cannot necessarily just grab bits of Java code
   -- these errors are referring to items in a layout that may be missing.
 
and when I try import com.example.android.apis.R it wants me to
 create
the class.
 
   That should be automatically built once we get the other problems above
   fixed.
 
   --
   Mark Murphy (a Commons Guy)http://commonsware.com|
 http://twitter.com/commonsguy
 
   Need help for your Android OSS project?http://wiki.andmob.org/hado
 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-14 Thread Steven

I figured out what was wrong. But like the commenter below I get the
recognizer is not present displayed when I run my code in the
emulator. I read that google voice search must be installed for the
voice recognition intent to work. Is this correct?
-Steven

On Jul 9, 6:08 pm, Mark Murphy mmur...@commonsware.com wrote:
 Steven wrote:
  So when I use the code from voiceRecognition.java to see if it will
  work. I get and error with R.layout.voice_recognition as well as R.id

 What are the error messages?

 Also, remember that you cannot necessarily just grab bits of Java code
 -- these errors are referring to items in a layout that may be missing.

  and when I try import com.example.android.apis.R it wants me to create
  the class.

 That should be automatically built once we get the other problems above
 fixed.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Need help for your Android OSS project?http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-11 Thread jdesbonnet

I'm unclear about the availability of the voice recognition service. I
tried the above example on my Vodafone branded HTC Magic (API version
1.5) but it's Recognizer not present.  There seems to be no
application in the Android Market that provides this service (unlike
Text To Speech functionality which is installed by downloading an
application).

Any suggestions? Do I have to wait for the next major firmware update?

Thanks,

Joe.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition application

2009-07-10 Thread iPaul Pro

Just in case you are unaware:
http://developer.android.com/reference/android/speech/RecognizerIntent.html

On Jul 10, 5:41 am, campi stephane.campi...@gmail.com wrote:
 Hi,
 such as the name of the topic says, I am developping an application
 based on speech recognition. I intend to develop the recognition part.
 Since it requires quite a lot of operations, I was wondering wether an
 Android Phone, such as the Dev Phone 1, could handle it. So could I
 develop such an application directly on the phone, or should I use a
 server to take care of the recognition ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-09 Thread Steven

I have seen that code. I can't get it to work. After reading through
other peoples post it seems like they have the same problem. Plus
there isn't any other tutorial or sample code out there that will help
me develop a voice recognition app.

On Jul 7, 9:09 pm, Mark Murphy mmur...@commonsware.com wrote:
 Steven wrote:
  I am confused after reading through this group aboutspeech
 recognitionin android. Is it possible for me as a developer to create
  an application that usesspeechrecognitionin the 1.5 SDK. I want to
  be able to base my code on the examples/api/voicerecognition.java
  code. Is this possible. Thanks

 http://developer.android.com/guide/samples/ApiDemos/src/com/example/a...

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Android 1.5 Programming Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-09 Thread Mark Murphy

 I have seen that code. I can't get it to work.

Silent failures?

Logcat error messages?

Crashes?

Phone explosions, with the resulting shrapnel threatening life and limb? ;-)

I have not seen the other threads you refer to, but I don't tune into each
and every message that gets posted here.

If you post specific symptoms, though, perhaps we can help.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-09 Thread Steven

So when I use the code from voiceRecognition.java to see if it will
work. I get and error with R.layout.voice_recognition as well as R.id
and when I try import com.example.android.apis.R it wants me to create
the class. When I created the project the R class was already pre
built. I'm pretty new to android development. I can't figure out what
I may be doing wrong. Thanks

On Jul 9, 3:31 pm, Mark Murphy mmur...@commonsware.com wrote:
  I have seen that code. I can't get it to work.

 Silent failures?

 Logcat error messages?

 Crashes?

 Phone explosions, with the resulting shrapnel threatening life and limb? ;-)

 I have not seen the other threads you refer to, but I don't tune into each
 and every message that gets posted here.

 If you post specific symptoms, though, perhaps we can help.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-09 Thread Mark Murphy

Steven wrote:
 So when I use the code from voiceRecognition.java to see if it will
 work. I get and error with R.layout.voice_recognition as well as R.id

What are the error messages?

Also, remember that you cannot necessarily just grab bits of Java code
-- these errors are referring to items in a layout that may be missing.

 and when I try import com.example.android.apis.R it wants me to create
 the class.

That should be automatically built once we get the other problems above
fixed.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need help for your Android OSS project? http://wiki.andmob.org/hado

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition

2009-07-07 Thread Mark Murphy

Steven wrote:
 I am confused after reading through this group about speech
 recognition in android. Is it possible for me as a developer to create
 an application that uses speech recognition in the 1.5 SDK. I want to
 be able to base my code on the examples/api/voicerecognition.java
 code. Is this possible. Thanks

http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html


-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 1.5 Programming Books: http://commonsware.com/books.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech recognition private-API

2008-10-23 Thread Wesley
Interesting... I also want it...

so update me time to time...
thanks... :P

wesley.

On Thu, Oct 23, 2008 at 6:00 PM, Tauno T [EMAIL PROTECTED] wrote:


 Hi, a quick question about copying internal-APIs to my own project.

 hackbod has said that There should be nothing the regular built-in
 apps do that you can't do in your own apps, except for some carefully
 considered scenarios, such as dialing an emergency phone number or
 directly installing an app without user intervention.. That means
 that the private-API's still use low-level APIs that are public? So I
 can pull the sources for the android.speech.recognition.* package and
 it should compile just fine against the public SDK? (ok, I guess I
 have to pull some more convenience classes that are part of the
 system that aren't ready for public use but you get the idea..). So I
 can just include the classes in my application and I don't have to
 fear that you change/remove them in a later release (since they all
 use public APIs a the end of the day)?

 My point is that if your speech recognition is good enough for you
 that you use it in your own apps (voicedialer) then it surely is good
 enough for me to use it in my application!

 Open source programming has always been about (for me at least) don't
 invent the bicycle. If I add something to the code or fix a bug, I'll
 submit a patch and if I don't change anything then I can just use the
 code and be happy with it?

 Or are you suggesting that I write my own speech rec from scratch and
 then when you are happy with the state of your implementation of it
 and release it as a public API, I can throw away my implementation and
 use your version of it?

 I just want to know the personal opinion of the Android team regarding
 taking private-APIs and bundling them with our apps :)

 Tauno

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition API

2008-10-04 Thread Wesley

Any idea?? Will they release in next version???
When will it be available??? Or any others have working on it???

your attention will be much appreciated...

wesley.

On 8/21/08, Megha Joshi [EMAIL PROTECTED] wrote:
 On Mon, Aug 18, 2008 at 9:20 PM, april [EMAIL PROTECTED] wrote:


 I hvae used speech recognition API in older SDK.But I found they were
 not available in new SDK.
 Does anyone know the API change?
 Do you know the new API which can provide same functionality?


 Unfortunately, the speech recognition APIs are not going to be in Android
 1.0..


 


 


-- 
Sent from Gmail for mobile | mobile.google.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Speech Recognition API

2008-08-20 Thread Megha Joshi
On Mon, Aug 18, 2008 at 9:20 PM, april [EMAIL PROTECTED] wrote:


 I hvae used speech recognition API in older SDK.But I found they were
 not available in new SDK.
 Does anyone know the API change?
 Do you know the new API which can provide same functionality?


Unfortunately, the speech recognition APIs are not going to be in Android
1.0..


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---