Android Question Best method to search and download image from server?

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi,

I need to download one image from server if it exists.
Download Progress to be available.

There are 3 methods with their merits and demerits
1. FTP
2. Job (OkHttp..)
3. Download service

If I use FTP, List files event will need to be handled.Which is comparatively lengthy.
If I use Job there is no download progress available.
If I use Download service there is no Error handling if file does not exist.

Can someone please advice which is the best and fastest method(Files may be of upto 10 MB) keeping the requirement in mind.

Thanks
Juzer
 
Top