download and save pdf on android,Download and save pdf on android.
Use webclient to download the pdf on the page and directly save it through Application.persistentDataPat, download the file but leave it corrupted, can not be opened, a possible solution or process?
public void DescargaZip() {
WebClient cliente = new WebClient();
cliente.DownloadFile(url, Application.persistentDataPath+"pdfPrueba.pdf");
}
,Use webclient to download the pdf on the page and directly save it through Application.persistentDataPat, download the file but leave it corrupted, can not be opened, a possible solution or process?
public void download() {
WebClient cliente = new WebClient();
cliente.DownloadFile(url, Application.dataPath+"pdfPrueba.pdf");
}
Comment
Your answer
Follow this Question
Related Questions
OpenURL : open local file containing a space (Android) 1 Answer
open PDF on WebGL 0 Answers
Exporting PDF report from game 1 Answer
open pdf on IOS 0 Answers
Create a PDF file for Android and iOS 0 Answers