O'Reilly logo

Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours by Jennifer Kyrnin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 20. Offline Web Applications

What You’ll Learn in This Hour:

• Why you would build offline applications

• How to use the cache manifest

• How to debug and solve problems with your cached applications

• How to detect the online state

One critical difference between most desktop computers and mobile devices is that mobile devices can, and often do, disconnect from the internet. Cellphones go out of coverage areas and Wi-Fi devices (such as iPod touches and some iPads) are only online when a Wi-Fi hotspot is nearby. So if you create a web application and your users aren’t online, they can’t use it. HTML5 comes to the rescue with offline web applications. This part of the specification explains how to set up your web application so that your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required