Will Verduzco · Dec 5, 2013 at 04:30 am

Build Apps that React to Google Search Using Xposed

Just yesterday, we briefly touched upon a Google Search update that brought the ability to search within apps directly from within Google Search. This update, which is gradually being rolled out to end-user devices, has the potential to make Google Search significantly more powerful. Rather than having to open an application to search within the app, Google Search can now act more like global search.

Unfortunately, there are a few limitations with Google’s first party offering. First of all, there are only a few apps that are compatible with this new functionality. Some of the biggest partners so far include IMDb, Rotten Tomatoes, Wikipedia, and a few others—though support can be added through the Content Provider API similar to what Senior Recognized Developer AdamOutler did not too long ago. The integration also still requires users to manually select the desired action from the Google Search results.

Luckily, XDA Senior Member MohammadAG came up with a solution to both of the above issues. The fix comes in the form of a third-party Google Search API that can be installed via XDA Recognized Developer rovo89‘s Xposed Framework. When installed, the API allows developers to create and run plugins that react to certain searches made in the Google Search app. A practical example demonstrating song lyrics functionality can be found on YouTube.

While MohammadAG’s API requires both Xposed Framework and this Xposed module to be installed, it also offers greater freedom and potential to interested app developers. End-users, as well as developers looking to integrate this functionality into their own apps, should head over to the module thread to get started.


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Emil Kako · May 25, 2015 at 12:32 pm · 4 comments

Which IM Client on Android is best?

With so many different messengers to choose from, it can be tough to find the best one for you and your friends to use. Hangouts, Whatsapp, Telegram and more are all battling it out for the number one spot. Let us know which IM client you think is best on Android and why.

DISCUSS
Jimmy McGee · May 25, 2015 at 12:00 pm · 2 comments

Android Factory Reset Security Flaw and More – XDA TV

Nvidia is releasing a 500Gb SHIELD TV Pro! That and much more news is covered by Jordan when he reviews all the important stories from this weekend. Included in this weekend's news is the announcement of an Android factory reset security flaw and be sure to check out the article talking about the Nexus Player getting TWRP. That's not all that's covered in today's video! Jordan covered the LG G4 First Impressions and Unboxing video from TK released this weekend...

XDA NEWS
Mathew Brack · May 25, 2015 at 06:00 am · 7 comments

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code name used internally by Google has been seen to be Macadamia Nut Cookie (MNC). This will almost certainly not be the final name for the release with rumors so far leaning towards milkshake, much like Key Lime Pie became Kit Kat and Lemon Meringue Pie became Lollipop. The acronym MNC has now also started to appear in several locations in AOSP, just look out...

XDA NEWS
Share This