Question

I'm building an app which is supposed to download (and later on) display an html file.

I don't need to worry about supporting files like CSS/JS.

I enqueue the file via its URL (eg. http://www.noodle.com/index.html) to the Android Donwload Manager but the download always fails.

Any ideas how to get the file? Or how to convince the Manager to download it properly?

Was it helpful?

Solution

You can make use of HTTPClient provided by Android to use it

More details on how to save that to file is available at How do I use the Simple HTTP client in Android?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top