intent的低级错误
调web浏览器时
String url = "http://xxxxx.com";? //这个url前面的http不能少,否则会报ActivityNotFoundException错误
Uri myBlogUri = Uri.parse(url );?
web = new Intent(Intent.ACTION_VIEW, myBlogUri);
发布时间: 2012-08-30 09:55:54 作者: rapoo
intent的低级错误
调web浏览器时
String url = "http://xxxxx.com";? //这个url前面的http不能少,否则会报ActivityNotFoundException错误
Uri myBlogUri = Uri.parse(url );?
web = new Intent(Intent.ACTION_VIEW, myBlogUri);