1. Download our Official Android App: Forums for Android!

Apps Loading Offline HTML server?

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

  1. Camsnose

    Camsnose Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    May 29, 2011

    May 29, 2011
    1
    0
    5
    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?
     

    Advertisement

Share This Page

Loading...