Countdown 2.0: Supporting HTML5 Cache
Taking advantage of HTML5 caching in an iPhone Webapp can eliminate the need to employ cumbersome data URLs for standalone or offline style applications.
Taking advantage of HTML5 caching in an iPhone Webapp can eliminate the need to employ cumbersome data URLs for standalone or offline style applications.
Countdown is an iPhone Webapp that implements a simple multi-color timer charting how many days, hours, minutes and seconds are left until a selected target event arrives. For example, this may be a fun (or frustrating) way to count how long you must wait until your next birthday. Built-in events include “Midnight” and “New Year’s”. There is a “Settings” screen that allows you to configure some of the parameters of the program. One of the most interesting configuration elements is a date picker that uses the hardware accelerated “SpinningWheel” from cubiq.org.
This article demonstrates how to write a web application for the iPhone to perform a single activity and control its operational parameters. It demonstrates how to communicate to a web service that periodically provides message updates.
How to install a stand-alone iPhone web application and build a basic installer script.
© 2000-2010 Technetra. All rights reserved. Contact | Terms of Use