引用:http://www.eoeandroid.com/thread-30515-1-1.html
webView.setDownloadListener(new DownloadListener() {
public void onDownloadStart(String url, String userAgent,
String contentDisposition, String mimetype,
long contentLength) {
//实现下载的代码
Uri uri = Uri.parse("http://10.10.10.173:8080/1/1.apk");
Intent intent = new Intent(Intent.ACTION_VIEW,uri);
startActivity(intent);
}
});