因为webView本身是不支持下载的,所以我写了个下载监听,用默认浏览器去下载
class MyWebViewDownLoadListener implements DownloadListener {
        public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,long contentLength) {
            Uri uri = Uri.parse(url);
            Intent intent = new Intent(Intent.ACTION_VIEW, uri);
            startActivity(intent);
        }
    }
但是这样的话,cookie就不知道怎么传过去了,求教