Dear All
i am using webview in an application to download and open an online pdf book. I am using following code, it opens the book in a pdf viewer
My problem is that everytime when the button is clicked to run above code, it downloads this whole book (several mb file). Is there a way that once it is downloaded, the next time when we click the button, it checks that the file is already downloaded earlier and loads it from the application folder instead of downloading everytime
i am using webview in an application to download and open an online pdf book. I am using following code, it opens the book in a pdf viewer
B4X:
WebView1.LoadUrl("https://d1.islamhouse.com/data/pdf-viewer/web/viewer.html?file=https://d1.islamhouse.com/data/ur/ih_books/chain/Sahih_Al-Bukhari/ur_bukhari_01.pdf&embedded=true")