Android 启动网络学习小笔记(未完善学到哪更到哪)
2016-03-15 19:45
453 查看
String result = "http://baidu.com";
if (result.startsWith("http")) {
// 启动网页
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(result));
startActivity(intent);
}
if (result.startsWith("http")) {
// 启动网页
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(result));
startActivity(intent);
}
相关文章推荐
- http://gank.io/post/560e15be2dca930e00da1083
- socket连接和http连接的区别
- Cisco/China Mobile的新网络架构
- Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
- 本博客不再更新,新博客地址: http://taosama.github.io
- HTTP 错误 500.21 - Internal Server Error 解决方案
- 软路由ros(MIKROTIK)安装教程:[9]封堵端口
- 网络公开课资源 ——关注CS/AI/Math
- Android 用ping来判断网络是否可用
- AlexNet
- Linux网络编程——原始套接字编程
- Android与服务器端数据交互(http协议整合struts2+android)
- TCP/IP
- java HTTPClient PostMethod 中文乱码问题解决方法
- 火狐已阻止载入混合活动内容“http://www.XXX/index.php?app=service&ac=auth&ts=isauth&url=
- 谈谈TCP连接状态的判定
- 工作笔记1-通过async-http-client上传文件给java服务器
- [New learn] 网络基础-网络操作
- Android Volley入门到精通:使用Volley加载网络图片
- TCP的拥塞控制