[英]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.