mobile app development singapore,website development singapore,app development singapore,ios app development singapore,app developer singapore,mobile application development singapore,web design services singapore,developers in singapore,singapore web design,mobile apps development singapore,web application singapore,website developer singapore,mobile apps singapore,singapore mobile application developer,web development company singapore,mobile developer singapore,web design company singapore,singapore web design services,developer in singapore,web development singapore,website designer singapore,mobile application developer singapore,singapore web development,singapore mobile app developer,mobile game developer singapore,website design singapore,singapore website design,ruby on rails developer singapore,singapore app developer,design agency singapore,design firms in singapore,web design singapore,graphic designer in singapore,web designer singapore,ios developer singapore,android developer singapore,mobile app developer 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.

Steps:

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’);
</script>

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

That’s it.
%d bloggers like this:
WordPress Security