Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to integrate Google Now into your app (for a quick demo, view:
<action android:name="" />
<category android:name="android.intent.category.DEFAULT" />
* Somewhere in your activity
String query = "";
if (getIntent().getAction() != null && getIntent().getAction().equals("")) {
query = getIntent().getStringExtra(SearchManager.QUERY);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.