调用所有的 android activity 的实现
2010-03-12 15:32:00 来源:WEB开发网核心提示:Intent intent = new Intent(Intent.ACTION_SEARCH);intent.putExtra("query", "Android");intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startAct
Intent intent = new Intent(Intent.ACTION_SEARCH);
intent.putExtra("query", "Android");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
03-11 16:06:41.561: INFO/ActivityManager(4924): Starting activity: Intent { act=android.intent.action.SEARCH flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity (has extras) }
会列出ResolverActivity,然后可以指定跳转到哪个activity
[]
更多精彩
赞助商链接