在应用程序使用android google搜索功能

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/

猜你喜欢

转载自1985liangzhangrong-163-com.iteye.com/blog/2069116