Intent调用大全
2011-07-01 20:51:26 来源:本站整理核心提示:startActivity(it); //market上某个应用信息,app_id可以通过www网站看下Uri uri = Uri.parse("market://details?id=app_id"); Intent it = new Intent(Intent.ACTION_VIEW, uri
startActivity(it);
//market上某个应用信息,app_id可以通过www网站看下
Uri uri = Uri.parse("market://details?id=app_id");
Intent it = new Intent(Intent.ACTION_VIEW, uri);
startActivity(it);
//调用搜索
Intent intent = new Intent();
intent.setAction(Intent.ACTION_WEB_SEARCH);
intent.putExtra(SearchManager.QUERY,"android123")
startActivity(intent);
更多精彩
赞助商链接