I try to understand the pros and cons of different ways to download a file using an android app.
I found several ways:
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)?
on your ownor 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)