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

  • SEARCH
  • Home
  • 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 7699435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:28:42+00:00 2026-05-31T22:28:42+00:00

During a search you can pass some data to search manager by using the

  • 0

During a search you can pass some data to search manager by using the APP_DATA bundle. This mechanism works great for normal search, but how can you do the same for a voice search and get back some context information when he voice search returns ?

  • 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-05-31T22:28:43+00:00Added an answer on May 31, 2026 at 10:28 pm

    From what I understand, it goes through the same mechanism. Simply create your normal onSearchRequested override in the backend, then annotate your dialog or widget with voice search functionality as described here.

    Using their example, something like this should go into your frontend:

    <?xml version="1.0" encoding="utf-8"?>
    <searchable xmlns:android="http://schemas.android.com/apk/res/android"
        android:label="@string/search_label"
        android:hint="@string/search_hint"
        android:voiceSearchMode="showVoiceSearchButton|launchRecognizer" >
    </searchable>
    

    When voice search is requested, its data will be passed through the search mechanism and on to your onSearchRequested callback, allowing you to manipulate the data as needed.


    Edit: The actual problem being addressed here was to differentiate when voice search is used in a search widget versus when the standard text input has been invoked.

    Unfortunately, it appears Google does not provide for these facilities unless you roll your own Recognizer or attempt to retrieve properties from the search bundle that are shaped like voice data. The latter case is undocumented and, at least apparently, is unsupported as well.

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

Sidebar

Related Questions

I know I can, during search, specify a boost factor to a term as
My question is on how to preserve data during the redirect when using the
How can I write this so the text shows in the text field (search
During our build process, we run sqlldr to populate our database with some sample
During my work on this database application, I've apparently managed to corrupt a form
Using code from open source MusicDroid with the following code that I found during
I have a problem using the Java search function in Eclipse on a particular
I search this question in site but my problem has little differences. I am
In our desktop application, we have implemented a simple search engine using an inverted
Hejsan, I need to search the Exchange 2007 for meetings booked during the specific

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.