try { Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); String term = editTextInput.getText().toString(); intent.putExtra(SearchManager.QUERY, term); startActivity(intent); } catch (Exception e) { }
http://www.technotalkative.com/android-gridview-example/