I wrote some library and it should load 3-5Mb files sometimes. I tried to use HttpURLConnection but I can't restore download with it if connection was lost from the last place. Also I tried DownloadManager, but it requires DOWNLOAD_WITHOUT_NOTIFICATION, which is unacceptable. Without it, it show load icon it top right corner, which is unacceptable also. I can't use third-party libraries also.
Are there any code sample how to force to work HttpURLConnection on poor connection (EDGE, overloaded servers) or some other open source library which code I can integrate?