A designer/developer on HTML, CSS, JavaScript and PhoneGap I've written a couple of articles about loading remote data into PhoneGap apps (sans framework), but I haven't mentioned a good little method of storing that data on the device so you don't need to request it from a server again. This is a quick tip for how you can do that. Of course, it depends on the type of data that you are loading from your server in the first place. You wouldn't necessarily want to store data that would be out of date quickly – such as share prices or live sports scores.
Read full article from Quick tip: using HTML5 localstorage to store JSON objects on a device in your PhoneGap app
No comments:
Post a Comment