1

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?

Ron
  • 22,128
  • 31
  • 108
  • 206

1 Answers1

4

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?

Community
  • 1
  • 1
the100rabh
  • 4,077
  • 4
  • 32
  • 40