I´m very newbie in jquery and mobile app. I trying to create a offline app for android. Part of this project I would like to use Jquery Mobile. My project have a menu with 05 buttons that when I click generates a random link to 10 pages (no multi-page) per button. Each page has 50 divs (multi-page jquery mbile) which are also shown randomly when the main page is loaded. Important: I need that all works in offline mode. Could anyone help me?
Thanks for the advise. First I need the confirmation that is possible to create this solution to run in offline mode. I would like to some indications or references about this stuff that help me to create the script.
For the application to work on offline mode, the pages will need to be cached first. So you will need to work the details of tracking what pages have been cached. Or you may just decide to download all the pages when the app is first loaded (if not too much data)
Local storage is a simple way to save state. For example, you can use it to say that pages 1-4 are cached, so the other pages should not be used when on offline mode.