Page 1 of 1
Can you sync data from desktop to device?
Posted: Thu Aug 11, 2011 2:38 am
by jpottsx1
Sorry for the silly question, but is their two way synchronization of your data between the iOS and the desktop when using sqlite or other databases? I was looking for something that worked like data synchronization on the Palm OS or Windows Mobile.
Thanks
Re: Can you sync data from desktop to device?
Posted: Thu Aug 11, 2011 9:55 am
by Mark
Hi Jeff,
You can make a server and a client app that exchange data.
Kind regards,
Mark
Re: Can you sync data from desktop to device?
Posted: Thu Aug 11, 2011 4:48 pm
by jpottsx1
Sounds simple enough, but as a rank amateur programmer, what would that entail? Has anyone done this? Are there any examples to follow?
Re: Can you sync data from desktop to device?
Posted: Thu Aug 11, 2011 5:26 pm
by Mark
Hi Jeff,
First, you need to understand how sockets work.
Here's a very simple and basic example.
Kind regards,
Mark
Re: Can you sync data from desktop to device?
Posted: Sat Aug 13, 2011 8:29 pm
by jpottsx1
I guess this solution is a little too complicated for a newbie.
I thought maybe someone had already done this before.
Jeff
Re: Can you sync data from desktop to device?
Posted: Sat Aug 13, 2011 8:42 pm
by Mark
Hi Jeff,
Synchronisation is always something rather specific. There is no general solution. One way or another, you'll need to learn how to use sockets.
An alternative way could be to synchronise withi a DropBox folder. That would only require a way to download the data. Perhaps you can use the put url command, if that's supported on iOS already.
Best,
Mark
Re: Can you sync data from desktop to device?
Posted: Sun Aug 14, 2011 12:36 am
by jpottsx1
So from the link to the Telnet example, I assume then that I am trying to telnet to the device and through this connection act upon the desired files?
Jeff
Re: Can you sync data from desktop to device?
Posted: Sun Aug 14, 2011 10:14 am
by Mark
Hi Jeff,
No. This is just an example to show you how sockets work. Once you understand that, you can start thinking of how to synchronise data.
Kind regards,
Mark