last day (16 days later) » 

5:19 PM
0
Q: Download resume not working in setRequestProperty method

Naruto UzumakiThis is my doInBackground method: @Override protected String doInBackground(String... sUrl) { InputStream input = null; HttpURLConnection conection = null; BufferedOutputStream bout = null; FileOutputStream fos = null; int downloaded = 0; ...

 
@hoomi Yes, Which answer are you referring to?
 
The one which was selected as the answer
 
@hoomi I used it and get error some thing like cannot set this before.... I don't remember it and have no access to my development environment now. Can you edited my code? I used it before if statement.
@hoomi Cannot set request property after connection is made. This was my error.
 
Isn't that because you set it after openConnection? Also another thing, does your server need to support it as well?
 
5:19 PM
@hoomi Yes thats support. I tried multi link which support with IDM.
 

  last day (16 days later) »