摘要: 1 String url = "http://www.baidu.com"2 3 Intent urlIntent = new Intent(Intent.ACTION_VIEW,4 Uri.parse(url));5 startActivity(urlIntent);有个地方需要注意 url 必须带 http:// 开头,否则在某些机型上会提示No Activity found to handle Intent { act=android.intent.action.VIEW dat=www.baidu.com } 阅读全文
posted @ 2012-05-06 21:25 Vic_Note 阅读(960) 评论(0) 推荐(1)