I try to understand the pros and cons of different ways to download a file using an android app.
I found several ways:
Does anyone with experience in the subject can tell me reasons for choosing one way over the other?
Android phone or tabletTap and hold your finger on the file's download link until a menu of options appears, then release your finger. Tap the Download link or Download image option in the menu. If necessary, tap the Download option again, which may be required for some files to complete the download.
Go to the webpage where you want to download a file. Touch and hold what you want to download, then tap Download link or Download image. To see all the files you've downloaded to your device, open the Downloads app. Learn more about managing downloaded files.
Is the file a user file (meaning the user should have access to the file, e.g. a photo or document that is for him to have)?
Download
app, etc.on your own
or via OkHttp will work, but OkHttp is a great library very well developed, stable, fast and will minimise your headaches during development. (did you know that starting in Lollipop, Android uses internally the OkHttp library? That's how good it is)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With