PDA

View Full Version : Save data to SQLite or something on iPhone/Touch




JPT
Mar 7, 2008, 11:54 AM
How would one go about writing a script that saves user inputted data into a SQLite database or something and being able to fetch it?



kainjow
Mar 7, 2008, 12:24 PM
You mean a script from the Desktop that writes data to the iPhone? You can't at this stage. Maybe by the time the 2.0 firmware ships Apple will provide a way to do it.

JPT
Mar 7, 2008, 12:38 PM
You mean a script from the Desktop that writes data to the iPhone? You can't at this stage. Maybe by the time the 2.0 firmware ships Apple will provide a way to do it.


No, I meant an app on the phone that will have input fields that a user can type something in and click Save or something and it will save it. So that next time that person goes into the application that data will still be there.

Sorry for not explaining very clearly :eek:

kainjow
Mar 7, 2008, 12:39 PM
Yes you can do that. You need to learn Cocoa though, and download the iPhone SDK to play with it.

EnderTW
Mar 7, 2008, 01:01 PM
No, I meant an app on the phone that will have input fields that a user can type something in and click Save or something and it will save it. So that next time that person goes into the application that data will still be there.

Sorry for not explaining very clearly :eek:

Learn Obj-C first.

Understand the Cocoa frameworks.

Apply apply apply.

I am excited they have SQLite in the iPhone for handling data.