[Android translation articles] Build the most convenient way between Voice Search and your application, android speech

Source: Internet
Author: User

[Android translation articles] Build the most convenient way between Voice Search and your application, android speech

Reprinted please indicate the source: http://blog.csdn.net/zhaokaiqiang1992

If you want your users to say "OK, Google", and then search for something in your application, how many lines of code is required? Actually, it does not take a few lines of code.


From now on, you only needAdd a little code to the AndroidManifest. xml file to connect your search interface to Google.


<activity android:name=".SearchableActivity">    <intent-filter>        <action android:name="com.google.android.gms.actions.SEARCH_ACTION"/>        <category android:name="android.intent.category.DEFAULT"/>    </intent-filter></activity>

After completing these steps, your application can receive a SEARCH_ACTION request intent containing the SearchManager. QUERY parameter.

At google, we have been looking for innovative ways to help improve mobile phone search and drive users back to your application. For example, users can directly say "help me find pizza on Eat24" or "help me find a hotel on the website ".


This feature can be run on devices in the English environment. The device system requires a version 4.1 or later and requires a runtime environment of Google App 3.5 or later. More importantly, you can search for hot words on any screen. This allows you to create the most convenient channel between your search command and your APP!

    


   Address: http://android-developers.blogspot.com/2014/10/the-fastest-route-between-voice-search.html


An Android software that supports voice broadcast translation in multiple languages

China. Wait till the Year of the Monkey. It's nice to have a dictionary.

It is suitable for Voice Search software in android systems and can be used to search apps installed on mobile phones.

If you are using a ginger pie, directly press the search key on the application page. The pop-up is the search application. When you enter the content, the local application is listed below. You can only jump to the market after clicking search.
However, it does not provide the voice input function, but it can be used with the input method with the voice input function, which is very simple.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.