mobile developer singapore,mobile application developer singapore,mobile app development singapore,singapore mobile app developer,singapore app developer,ios app development singapore,web designer singapore,website design singapore,android developer singapore,mobile apps singapore,mobile apps development singapore,singapore web development,web design services singapore,website developer singapore,app developer singapore,design firms in singapore,mobile application development singapore,mobile game developer singapore,developer in singapore,graphic designer in singapore,website designer singapore,ruby on rails developer singapore,web design singapore,design agency singapore,developers in singapore,ios developer singapore,app development singapore,singapore mobile application developer,web development singapore,singapore web design,singapore website design,web development company singapore,web design company singapore,mobile app developer singapore,web application singapore,singapore web design services,website development singapore

How to build an iPhone offline web app?

Developing a native iPhone application is really a difficult task if you are  a web programmer with no knowledge of Cocoa programming language. Why not try developing an iPhone web-app with local sqlite database, and sync with the live server whenever you are connected to internet? In this article i will show you how to do it.


1. Build an offline iphone web-app

View more presentations from Home.

Example can be found here: Berttimmermans Checklist App

2. Periodically check if the iphone is currently connected to internet, with javascript:

<script type=”text/javascript”>
var connectionStatus = ((navigator.onLine) ? ‘online’:’offline’);

3. Sync data with web server whenever you are online, via normal http POST/GET requests

That’s it.
Malcare WordPress Security