Questions tagged [recognizer-intent]

Android Constants for supporting speech recognition through starting an Intent

Android Constants for supporting speech recognition through starting an Intent, added in API level 3

Docs: https://developer.android.com/reference/android/speech/RecognizerIntent.html

44 questions
11
votes
3 answers

RecognizerIntent: how to add a bundle to a pending intent

I am implementing an activity that responds to the RecognizerIntent. Among others this activity must handle two incoming extras that specify a pending intent and its…
Kaarel
  • 10,554
  • 4
  • 56
  • 78
11
votes
3 answers

Continuous Speech Recognition Android - Without Gaps

I have an activity that implements RecognitionListener. To make it continuous, every time onEndOfSpeech() I start the listener again: speech.startListening(recognizerIntent); But, it takes some time (around half a second) till it starts, so there…
Ronen Rabinovici
  • 8,680
  • 5
  • 34
  • 46
8
votes
2 answers

Android - Speech Recognition Limiting Listening Time

I am using Google API for speech recognition, but want to limit listening time. For example two seconds. After two seconds even though user continue to speaking recognizer should stop listening. I tried some EXTRAs…
ysfcyln
  • 2,857
  • 6
  • 34
  • 61
8
votes
2 answers

Burmese speech to text conversion in android?

Can we add custom language for RecognizerIntent? I have search many SO Question like https://stackoverflow.com/questions/2080401/is-there-a-speech-to-text-api-by-google That solve my problem of using limited number of language during Speech to Text…
7
votes
2 answers

SpeechRecognizer offline ERROR_NO_MATCH

SpeechRecognizer return ERROR_NO_MATCH in onResults when the device is offline while it's returning the partial results in onPartialResults() call back. The last time I played around with SpeechRecognizer it was working fine offline, I wonder if…
feisal
  • 585
  • 1
  • 8
  • 20
4
votes
1 answer

How to check if SpeechRecognizer is currently running?

I am trying to track state of SpeechRecognizer, like that: private SpeechRecognizer mInternalSpeechRecognizer; private boolean mIsRecording; public void startRecording(Intent intent) { mIsRecording = true; // ... …
Piotr
  • 1,743
  • 1
  • 26
  • 40
4
votes
0 answers

Get URI of saved audio in OnResults(Bundle result) in Speech RecognitionListener android

I followed almost everylink for audio saving and converting it to text but I did not find any way that how I can get audio Url in custom Recognition Listener record/save audio from voice recognition intent How to use Androids' speech to text with…
Preetika Kaur
  • 1,991
  • 2
  • 16
  • 23
4
votes
1 answer

How can I use voice recognition with other languages android

I have a code that used to worked but for some reason it suddenly just stopped working, I'm trying to use voice recognition in Hebrew but it seems like since a few days ago it just starts voice recognition in English. Here is my code sr =…
4
votes
2 answers

Data Security with RecognizerIntent in Android app

I'm developing an Android voice recognition app using RecognizerIntent. The client is concerned with data being transmitted between device and Google's speech recognition server and whether it can be intercepted. I found very little documentation…
3
votes
2 answers

I want to incorporate continuous (hands free) voice command recognition in my app for home automation

I have created a simple android app for controlling a relay connected to my Raspberry Pi. I have used buttons as well as basic voice recognition to trigger those buttons and switch on/off the corresponding relay channel. As of now the voice…
3
votes
1 answer

How can I run Android process in standby?

I want to continue my Android SpeechRecognizer intent when the user pressed the power button to lock the screen. public abstract class ListeningActivity { protected SpeechRecognizer sr; Intent intent = new…
user3878429
3
votes
0 answers

How to get the default value for RecognizerIntent.EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS

I want to know what is the default value for EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS extra for RecognizerIntent. In the documentation descibed constant android.speech.extras.SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS, but it cannot be…
3
votes
0 answers

Android RecognizerIntent: slow to return results

Ever since the current version of Google Now came out (as of 2014-03-18), if I use the RecognizerIntent to start voice recognition it sits there for several seconds before finally giving me the results. Any one else with the same issue? Thanks in…
joaomgcd
  • 5,287
  • 4
  • 28
  • 39
2
votes
1 answer

How to correctly launch Voice Recognition activity from an activity with singleInstance launch mode?

Already saw another thread which mentions that an activity with RecognizerIntent was not working correctly if launched from within an activity with singleInstance launch mode. So I would like to know what my alternatives are. My use case is as…
2
votes
0 answers

Integrating google Speech Listener on Samsung Galaxy 4

We developed an app that needs to work on all smartwatches with wearOS. The app is installed on Ticwatch and it works perfectly well. In the same app, with the same wearOS version, we are facing an issue on Samsung smartwatch Galaxy 4 with a speech…
1
2 3