Saying the hot-word “Ok Google” will open up a voice search on many Android devices, allowing users to quickly and easily search the web. Now Google is making it easy to search inside of apps, too.
Google announced today that by adding just six lines of code to their apps, developers can allow Google voice search to load up a query directly inside of their app. For example, you can say, “Ok Google, search for hotels in Maui on Trip Advisor” to be kicked into the Trip Advisor app that’s installed on your phone.
If you’re curious, the six lines of code that you need to add will go into your apps AndroidManifest.xml file, and they look like this:
Google says that the feature is currently only available on English-based Android devices running Android 4.1 Jelly Bean or higher. Users will also need version 3.5 of the Google app.
Overall this looks like a nice addition to Android. While searching the web with your voice typically works fine, an actual app will often provide a better experience than a mobile website. Plus, I’m sure that many app developers will be happy to have users spend more time in their apps than on the web.
How often do you use the “Ok Google” how-word on your device?