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?

2
  • do you want to do it via code or just via browser ? Commented Apr 2, 2013 at 15:48
  • i need to do it programmatically... so via code :) Commented Apr 2, 2013 at 15:49

1 Answer 1

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?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.