Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone - Importing/Exporting App data?

iPhone apps are great for managing or viewing small elements of data however doing mass and/or long data entry or typing is a pain.

For apps that need to have longer dynamic data that can be used on the iPhone but more easily created at the desktop, what sort of options exist for getting data from the desktop to the iPhone app? Are webservices about the only real option? What other simple solutions exist? Like to find a simplified way for moving data back and forth between iPhone and desktop (Windows and Mac)

like image 401
schooner Avatar asked Jan 31 '26 08:01

schooner


2 Answers

One option is to turn the device in to a web server and allow the desktop app to upload directly to the device, side-stepping the necessity of a third-party server.

Take a look at CocoaHTTPServer for an implementation of the an iPhone web server that supports downloading and uploading files or data, POST and authentication. You can directly connect to the device using its ip address, or using http://iphone.local in certain circumstances.

like image 184
Ed Marty Avatar answered Feb 03 '26 07:02

Ed Marty


I think the short answer is yes, the only sensible option are webservices. There is no iTunes sync plugin that you can use so your options are all network based.

Other than webservices, you might also like to consider a client-side program that your iPhone app finds and connects to using Bonjour. The obvious disadvantage here is that you have to write client apps (preferably two, one for Windows the other for Mac) and educate your users on how to download and install them. Also you're forcing your users to sync using WiFi.

Here's hoping that next weeks iPhone 3.0 announcement includes iTunes sync plugins...

like image 41
Stephen Darlington Avatar answered Feb 03 '26 07:02

Stephen Darlington



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!