Quote:
Originally Posted by idima
Hi!
Thank you very much for your answer!
Is there any API or something like that, that i can simply use in Xcode and have not to develop the synchronization on my own? If not, are there any tutorials or best practice descriptions for development of the synchronization?
Thank you!
|
You can't really synch your app' s content in the way Apple synchs its iPhone apps content (Contacts, Calendar, etc). There is no program mechanism, as you do not have access to the iTunes synching app.
Even if you did have an API, you can't write a (non-jail broken) iPhone app to use the iPhone USB connector.
The only thing Apple does is allow you to replace your app (and its embedded data content) with a newer iteration thru iTunes synching or app store download.
So, to maintain synch, you have to write an app that uses WiFi or Edge, and that leads us back to some sort of client-server interface. You can write a special server app, in say Perl, that communicates with your iPhone client app... but it is usually easier to interface a web app or a web service app running on the server that has access to the DB server.
Most DB servers are capable of accepting direct calls, but IT would be crazy to permit this kind of access outside of the IT department.