Android Intent 大全
摘要:
android中intent是经常要用到的。不管是页面牵转,还是传递数据,或是调用外部程序,系统功能都要用到intent。 ★intent大全: 1.从google搜索内容 Intentintent=newIntent(); intent.setAction(Intent.ACTION_WEB_SEARCH); intent.putExtra(SearchManager.QUERY,"searchString") startActivity(intent); 2.浏览网页 Uriuri=Uri.parse("http://www.google.com") 阅读全文