简体   繁体   English

从Android网络浏览器中的SD卡下载文件?

[英]download file from the android web browser in sdcard?

HI.

I have a Android application in which I want to download file from the web browser file link. 我有一个Android应用程序,要在其中从Web浏览器文件链接下载文件。 But I don't know how can do it? 但是我不知道该怎么办?

Help me. 帮我。

First you need to get all available links on the page so try using this answer 首先,您需要获取页面上所有可用的链接,因此请尝试使用此答案

How do I get the web page contents from a WebView? 如何从WebView获取网页内容?

Next you need to download the file so use this answer: 接下来,您需要下载文件,因此请使用以下答案:

Download a file with Android, and showing the progress in a ProgressDialog 使用Android下载文件,并在ProgressDialog中显示进度

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM