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

2010-05-18 Thread pac
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

[android-developers] Re: AudioRecord creates a stereo file instead of a mono file.

2010-05-18 Thread pac
at that source to fix it.. On Apr 29, 5:51 pm, pac patty.c...@gmail.com wrote: I'm developing with Android 2.1 on a Nexus One with firmware 2.1 update 1. I'm using the RehearsalAudioRecorder class from here: http://rehearsalassist.svn.sourceforge.net/viewvc/rehearsalassist

[android-developers] Re: AudioRecord: onPeriodicNotification and onMarkerReached are not called

2010-05-18 Thread pac
better ^_^ On May 14, 9:29 am, pac patty.c...@gmail.com wrote: Has anyone gotten this working? -- 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

[android-developers] Handler: UI gets updated all at once at the end

2010-05-17 Thread pac
I'm using AudioRecord in a separate class, and I have it read a buffer in a loop and callback to the main activity with the buffer. The activity processes the buffer and calculates a number that I want to update the UI with (I'm using animation to move a button). What I'm finding is that first

[android-developers] Re: AudioRecord: onPeriodicNotification and onMarkerReached are not called

2010-05-14 Thread pac
Has anyone gotten this working? -- 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] How to get activity to restart every time the app is launched from the command line

2010-05-13 Thread pac
Device: Nexus One Firmware: 2.1 update 1 Platform 2.1, API: 7 I have seen it mentioned before that there's a difference between installing an app via Eclipse and via adb, but I need more clarification. I have an app that starts a voice recognition activity in the main activity's onStart()

[android-developers] AudioRecord: onPeriodicNotification and onMarkerReached are not called

2010-05-13 Thread pac
I've seen posts regarding problems with the AudioRecord OnRecordPositionUpdateListener, but I haven't seen any real answers. I'm using AudioRecord to record from the mic, and I want to get the input from the mic periodically so I can check sound levels and update a meter. I set up the listener

[android-developers] AudioRecord delay in recording

2010-05-05 Thread pac
I'm using a class that uses AudioRecord. RehearsalAudioRecorder recorder = new RehearsalAudioRecorder( RehearsalAudioRecorder.RECORDING_UNCOMPRESSED,

[android-developers] AudioRecord creates a stereo file instead of a mono file.

2010-04-29 Thread pac
I'm developing with Android 2.1 on a Nexus One with firmware 2.1 update 1. I'm using the RehearsalAudioRecorder class from here: http://rehearsalassist.svn.sourceforge.net/viewvc/rehearsalassist/android/trunk/src/urbanstew/RehearsalAssistant/RehearsalAudioRecorder.java?view=markup

[android-developers] Not getting RecognizerIntent result codes

2010-04-22 Thread pac
I want to get the RecognizerIntent result codes such as RESULT_SERVER_ERROR because I want to distinguish between the cases where the speech wasn't understood or no matches were found and the cases where recognition didn't occur because of connection or server problems. When onActivityResult()

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

2010-04-20 Thread pac
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

[android-developers] RecognizerIntent speech prompt not getting focus upon activity relaunch

2010-04-19 Thread pac
I used VoiceRecognition.java as a starting point for my app. But instead of having a button that when clicked calls startVoiceRecognitionActivity() to fire a RecognizerIntent to start a voice recognition activity, I called startVoiceRecognitionActivity directly from onCreate(). I need to launch