Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7810869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:57:04+00:00 2026-06-02T03:57:04+00:00

When I call the startListening method of a SpeechRecognizer object, the speech recognizer starts

  • 0

When I call the startListening method of a SpeechRecognizer object, the speech recognizer starts listening for speech. I would like to create a service that is waiting for speech of a specific keyword: when the user says this keyword and the speech recognizer detects this keyword, then the service becomes ready to receive user voice commands.

To this end, after a new SpeechRecognizer instantiated, I should call its startListening method: can I keep the speech recognizer listening indefinitely?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:57:06+00:00Added an answer on June 2, 2026 at 3:57 am

    The Android Speech recognizer can be customized through the intent extra data. See the android documentation.

    public static final String
    EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS

    The amount of time that it should take after we stop hearing speech to
    consider the input complete. […]

    public static final String EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS
    Since: API Level 8

    The minimum length of an utterance. We will not stop recording before
    this amount of time. […]

    public static final String EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS

    The amount of time that it should take after we stop hearing speech to
    consider the input possibly complete. […]

    Set the EXTRA_LANGUAGE_MODEL to websearch to capture only relevant words.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I call addNotify() method in class that I posted here. The problem is, that
I call an ajax enabled wcf service method , <script type=text/javascript> function GetEmployee() {
I call method in webservice that return string true or false and take two
We call a .live() method like this: $('.link').live('click', loadContent); But what about if I'm
Call to a member function save() on a non-object in .../views/manufacturer/tmpl/edit.php line 24 which
Call like: mAsyncRunner.request(me, params,new AsyncFacebookRunner.RequestListener() returns me all info for user /according to permisions/.
I call a template like this from my view: return render_to_response('mytemplate.html', context_instance=RequestContext(request)) I'm trying
A call to getLocationOnScreen() or getLocationInWindow() both give me a top/Y coordinate that is
call to split on a variable causes a Object doesn't support this property or
Call me crazy, but I'm the type of guy that likes constructors with parameters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.