Uri 我一般用在解析本地路径使用
如:
Uri uri=Uri.parse("
URL 我一般用在解析网络下载地址
如:
String path = "http://192.168.1.62:8080/MyHttpTest.apk";
URL url = new URL(path);
本文共 192 字,大约阅读时间需要 1 分钟。
Uri 我一般用在解析本地路径使用
如:
Uri uri=Uri.parse("
URL 我一般用在解析网络下载地址
如:
String path = "http://192.168.1.62:8080/MyHttpTest.apk";
URL url = new URL(path);
转载于:https://my.oschina.net/f839903061/blog/78380