1. Are you ready for the Galaxy S20? Here is everything we know so far!

Loading Offline HTML server?

Discussion in 'Android Development' started by Camsnose, May 29, 2011.

  1. Camsnose

    Camsnose Lurker
    Thread Starter

    I'm working on an app in which I can take a full server folder with .html files, images, videos, etc, that could otherwise be loaded onto a server as a full website, and make it available in the form of an app for offline browsing. I've been using phonegap to develop this app for the xoom, and so far I've been able to get my index file loaded in the app with all of the images displayed as well as clickable buttons. The index file contains 2 buttons that link to another .html file in the directory which I have loaded into the app, but it tells me that they contain errors. I had this same problem with the index file until I modified something in the App class file in Eclipse to allow the index file to be opened at access. What would I need to do to make these other .html files load? Would I have to create a new class file for each .html file, or is there an easier solution?

    1. Download the Forums for Android™ app!



Share This Page