Skip to content

Instantly share code, notes, and snippets.

@tassioauad
Created November 12, 2016 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tassioauad/5352b751659fe48a94be353c77df6924 to your computer and use it in GitHub Desktop.
Save tassioauad/5352b751659fe48a94be353c77df6924 to your computer and use it in GitHub Desktop.
@Override
public void startActivity(Intent intent) {
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
//Do something with the query...
} else {
super.startActivity(intent);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment