Use jQuery for mobile devices offline

I am developing in the Android mobile system using PhoneGap with jQuery mobile device. I need my app to work without an internet connection. I read two articles from HERE and THERE , trying to import all the necessary files about jQuery Mobile in the Phonegap application. But it does not work properly without the Internet.

Here is the file structure and manifest cache, I also included JavaScript and the CSS file:

enter image description hereenter image description hereenter image description hereenter image description here

Did I miss something? Thank!

+5
source share
3 answers

jQuery Mobile . , , .

enter image description here

0

MIME? text/cache-manifest MIME.

, , , , phonegap , , phonegap, , .

0

you also need to specify the network and backup (optional) as follows:

A line starting with C # is a comment

# (*) online whitelist wildcard flag
NETWORK:
*

#This is optional
#FALLBACK:
#/ /offline.php
0
source

All Articles