Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-07-2008, 02:41 PM   #2 (permalink)
dicklacara
New Member
 
Join Date: Nov 2008
Posts: 123
Default

Quote:
Originally Posted by idima View Post
Hi everyone!

I would like to know, if it is possible to sync a database of an iphone app (sqlite) with any database on the server.
The goal is to develope an iphone-application that runs on several iphones as clients and syncs its database with the central database on the server.

Thank you very much!!!
Sure!

1) You have to copy the iPhone SQLite DB to the iPhone's Documents folder so you can update it. (google for an example on how to do this)

2) You need a way to access the DB server-- typically through a web app or a web service.

3) You need to write the iPhone synch app to access the Server DB and update the local SQLite DB.

You prolly want to add some sort of timestamp indication at both ends to avoid unnecessary synchs
dicklacara is offline   Reply With Quote
 

» Advertisements
» Online Users: 764
20 members and 744 guests
ADY, ajaysharma, AppleSteve, ckgni, clovisbear, femenina, Floras2324, hain, ilmman, jkigel, JohniARivera, KarlJay, manojb, MozyMac, NoGameJoe, oceanlablight, saqibjaan, shenehashri, smarkmee, suresk
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,623
Threads: 89,142
Posts: 380,331
Top Poster: BrianSlick (7,110)
Welcome to our newest member, smarkmee
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:41 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.