This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to download a video file (extension 3gp) from a certain http address. My application starts downloading, but it stops after downloading 9216 bytes. The file length is 1734741. I tried to increase the heap by including the following line in the Manifest file:
It does not help. Here is the fragment of the java code that deals with downloading:
The application uses a Progress Bar to show the progress of the download. Because the file length is quite big, I did logarithmic calculations. Also, I have several Log.v messages to see what's going on, I hope this does not hamper understanding of the code.
Anyway, my question refers only to the incomplete downloading of the 3gp file.
What can I do to download the video file? Thanks for the help I got so far with my previous questions!
It is a great forum!