I develop Android app that will need to download large file from Java web-service.
The app can lose Internet connection while downloading.
Is it possible to continue downloading a file from the middle?
This is a service that I will create by myself. Actually I'm just planning how to build it the way it will be able to resume download.
So I can use any of those (SOAP, RESTful), just need to know if there any technology available to resume download.
Author and all-around good cowpoke
Joined: Mar 22, 2000
I don't know of any "toolkit" but it would be simple to program in the RESTful style because the "technology" built into the standard HTTP request headers lets you specify a range of bytes to be sent.
The standard Java library will of course let you find the size of a file and start reading from any point (java.io.RandomAccessFile) on the server.