facebook twitter hatena line email

Android/検索Google

提供: 初心者エンジニアの簡易メモ
移動: 案内検索

google検索画面へ

  • Search1Activity.java
Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);
intent.setClassName("com.google.android.googlequicksearchbox", "com.google.android.googlequicksearchbox.SearchActivity");
intent.putExtra(SearchManager.QUERY, "hoge");
startActivity(intent);