I\'m trying to download a large .zip file from a web server but I have a weird behaviour, the description is:
The "emulator rebooting itself" does not sound good. I would recommend you start up logcat on the dev machine and log to a file... ie, on a linux dev machine something like
adb logcat | tee logfile
Then look at the logfile and see what you can learn about why it rebooted.
I've just tried this code in a real device and it works perfectly. There must be something weird in the emulator.