首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

intent的低级异常

2012-08-30 
intent的低级错误调web浏览器时String url http://xxxxx.com? //这个url前面的http不能少,否则会报Ac

intent的低级错误

调web浏览器时

String url = "http://xxxxx.com";? //这个url前面的http不能少,否则会报ActivityNotFoundException错误
Uri myBlogUri = Uri.parse(url );?
web = new Intent(Intent.ACTION_VIEW, myBlogUri);

热点排行