6

I have some extensive documentation in HTML format that I want to carry around with me. On my old Gingerbread phone, I was able to save the entire "site" onto the phone's sd card and browse it with the url

file:///mnt/sdcard/mysite/index.html.

Unfortunately, this is not working with my new ICS phone (which uses Chrome as the browser); trying different urls produce either a 404 "file not found" or a 403 "access denied".

Can anyone point me to a read me on how to do this?

8
  • Are you sure you are using a correct path? Where the sdcard is mounted depends heavily on your device and ROM. Seometimes it gets mounted to multiple locations at once. See if you can find them all and test. I can only test on JB and it works fine for me in the stock browser.
    – dset0x
    Commented Oct 17, 2012 at 11:59
  • Err... No, I'm not sure. That's why I asked.
    – Mike Heinz
    Commented Oct 17, 2012 at 13:42
  • You can find the exact location of a file with most file managers. (by long pressing it and then tapping Properties in Root Browser Lite for example) i.imgur.com/LaWon.png Try /mnt/sdcard, /sdcard, /storage/sdcard0. Make sure there's no fullstop at the end of the URI
    – dset0x
    Commented Oct 17, 2012 at 14:13
  • 1
    Are you including the period at the end of the URL you've given as an example?
    – ale
    Commented Oct 17, 2012 at 15:36
  • 1

2 Answers 2

2

Re-phrasing your question to reflect your real problem:

How can I read my extensive, HTML-formatted documentation on my Android device?

there is an answer which would make it easy, comfortable, and even less storage-consuming:

You could convert the entire documentation to an eBook using Calibre on your PC. A good format would be e.g. ePub. As a result, your entire documentation would be packed into a single file. Now check the playstore for a nice eBook reader (my recommendation: Moon+ Reader or its payed version, Moon+ Reader Pro), and install it on your device. Et voila: You have your documentation available on your device. Added pluses (with Moon+ Reader): You can even set multiple bookmarks, highlight text, make annotations. And due to the integrated OPDS support and even pre-configured online libraries, you'd have a bunch of books at your fingertips.

Moon Reader Moon Reader Dict

Adding a dictionary app like ColorDict Dictionary Wikipedia or Fora Dictionary plus some (freely available) dictionaries, you could even look up things whenever needed, online or offline, as the second screenshot2 shows.

0

You also can type in termux xdg-open example.htm to open your file in Chrome.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .