SHARE
TWEET

Untitled

a guest Dec 1st, 2010 175 Never
  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.         }
RAW Paste Data
Top