Link to home
Start Free TrialLog in
Avatar of dpicco
dpiccoFlag for United States of America

asked on

how to develop iPad app that will take photos and sync to web server or database

Hello experts,
I need to create an iPad app that will download some customer records from our database (such as through our .net web server), let our field agents take a photo and update each record, and then sync back up to our customer database when they're connected through VPN.

How would something like that work? Should I use a SQLite3 database on the iPad to download the customer records? Then use the UIImagePickerController to save the photo onto the iPad? Then how do I get that data synced back up to the customer database?

Thanks. Any advice or links to additional reference material is greatly appreciated.
Avatar of Hamidreza Vakilian
Hamidreza Vakilian

It seems that your database is MSSQL.
Design and develop web service for the commands that your application on iPad makes. For example you will have a web method for uploading data from iPad to server and a method for downloading the data (of course you might have more methods like authentication, etc.) the web service is connected to your database and can satisfy you data transfer requirements. Also an asp..net web service is also easy to develop)
On the web service you should choose the arguments and return values carefully to decrease your troubles with wrapping and casting types from objective-c to probably c# or vb.
You can use the image classes on iPhone (uiimagepicker-I'm not sure) to save and load photos. So you will have the photos files. You can convert the photos to binary and pass them to the web service and vice versa.
Hope it gives you the idea....
Avatar of dpicco

ASKER

Programmer-X,
Thanks for the info. I'll likely have to download 100 or so records to the iPad containing some customer info. Do you think I should use SQLite3 to temporarily store this data until my web service can upload it back to the server?

Thanks again. I appreciate your help very much.
ASKER CERTIFIED SOLUTION
Avatar of Hamidreza Vakilian
Hamidreza Vakilian

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dpicco

ASKER

Thanks