Ddyracer
macrumors 68000
Android Police:
Months ago, we posted a rumor about "modular actions" set to come to Google's Search app (now just called Google) along with "Ok Google Everywhere" functionality that would allow users to activate search from anywhere on their device.
The latter has already been implemented, but Google is still inching toward the former. With the technically unreleased Google app, the search interface can overlay apps from which it is called, but Google today announced another step forward - the ability to let apps hook into search by accepting voice queries from the user.
The solution is a mere six lines which, when added to the AndroidManifest.xml file, will allow a user to say something like "Search for pizza on Eat24" to open the corresponding app (in this case Eat24) to pizza search results.
Link
Demo: