inicio mail me! sindicaci;ón

Another way of using iPhone Web Apps Offline

I mentioned a while ago that it was possible to make off-line web apps using a combination of the data:/ uri support and the database storage on the iPhone 2.0 firmware. While this solution works, it sure is a bit of a hack.

Fortunately there is another way to use web apps offline on the iPhone. It turned out to be so simple i wondered why i didn’t think of it before. Well, here is how you do it:

EDIT: also downloadable as Using_iPhone_Web_Apps_Offline

Hey presto! While you do get a warning, you can still use your lovely web app offline. Unless of course, you restart your iPhone or close the window. If that happens, your data will still be safe if your web app uses the database api to store it. Just hope you get your signal back so you can start working again. :)

John Peel said,

March 12, 2009 @ 1:18 pm

While searching for a way to build iPhone Web-Apps for offline use, I came across this post. However, either my sense of humor is sorely lacking, or I'm completely missing something.

Did you in fact discover another way to do this? If so were you forced to remove it by the iPhone gods?

Thanks,

-peel

James Urquhart said,

March 13, 2009 @ 11:02 am

The only other way is to use the “data:/” URL hack (coupled with the database api), which i discussed in the iphone database article.

Or of course, make a real app. If you really want to write it as a web page, you can use something like PhoneGap.

James Urquhart said,

March 13, 2009 @ 7:02 pm

The only other way is to use the “data:/” URL hack (coupled with the database api), which i discussed in the iphone database article.

Or of course, make a real app. If you really want to write it as a web page, you can use something like PhoneGap.

RSS feed for comments on this post · TrackBack URI

Leave a Comment