Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 1st, 2010  |  syntax: None  |  size: 0.33 KB  |  hits: 175  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         @Override
  2.         protected void onCreate(Bundle savedInstanceState) {
  3.                 super.onCreate(savedInstanceState);
  4.  
  5.                 final Intent queryIntent = getIntent();
  6.                 final String queryAction = queryIntent.getAction();
  7.                 if (Intent.ACTION_SEARCH.equals(queryAction)) {
  8.                         String searchKeywords = queryIntent.getStringExtra(SearchManager.QUERY);
  9.                 }
  10.         }