1

I'm a total noob when it comes to iPhone development and have been tasked to create a database app that can download and upload sqlite data to and from a server via http using web services. So far I already have a form for retrieving and saving data to a SQLite database and now I need some information on how I can upload the SQLite data to a server. The SQLite database will only have one table with 3 columns and about 200 rows max. I hope somebody can point me to the right direction or lead me to some sample codes.

Appreciate any help.

German
  • 217
  • 3
  • 12
  • You can also check this thread: http://stackoverflow.com/questions/1744522/best-way-to-synchronize-local-html5-db-websql-storage-sqlite-with-a-server – Samuel Jan 09 '12 at 20:42

1 Answers1

0

As you are using HTTP to get data into the iPhone, you should also use HTTP to get data out of the iPhone. That way, you can query the SQLITE database and send the data through HTTP to a remote server.

It's pretty simple to accomplish since you have all the HTTP protocol implemented in the SDK.

On the server side, you can use whatever you want: Apache+PHP, Tomcat, JBoss, ASP.NET, you name it.

Pablo Santa Cruz
  • 176,835
  • 32
  • 241
  • 292