How to insert data into a database using C? [closed] - iphone

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How do i insert data from an iPhone app to the mysql database using C? I have a web app that inserts into database but now looking into iphone.

In short - you need to have a server (the one with the MySQL database) which defines a layer of 'services' that the iOS application can call. You could design this service layer in PHP, Python, NodeJS, etc.... It doesn't matter how you do it - but you need to have some service layer to handle the interactions.
Another (not recommended) approach would be to access MySQL directly using a driver written in Objective-C. Here is one such driver:
http://www.karlkraft.com/index.php/2010/09/17/mysql-for-iphone-and-osx/

Related

How to encrypt the sqlite file in IOS and which one is good method? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Hi I would like to encrypt my database(sqlite) file and which encryption method is good for IOS development. Thank's in advance.
you use SQLCipher fencrypt my database(sqlite) file.It's a build of SQLite that provides transparent, page-level encryption of the entire DB. There's a tutorial over on Mobile Orchard for using it in iPhone apps.

Oracle Forms With iOS [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I searched alot for oracle forms for iOS devices but i did'nt find a way to do that. Is there any to use oracle forms in iPhone or iPad ?
I read somewhere on a website that oracle forms need JRE as iOS devices didn't have JRE so it is not possible. But there are few applications using oracle forms so there must be a way.
There is a company called OraPlayer that promise to run forms from any mobile device.

Receive iPhone User Data [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am creating an app with various tests and I need a way to receive the test results from the users. Is there a way for me to save the test results when the user is done taking the test and be able to access the results from my computer or something? Thanks in advance,
Joshua
In an app I am making I used JSON, JavaScript Object Notation, to communicate between my app and a web server, where I store my info. It is fairly simple to use. Check out this tutorial http://www.raywenderlich.com/2965/how-to-write-an-ios-app-that-uses-a-web-service. This is what I used and I am fairly new to programming in general, and I just had to make a few adjustments to make it work. This is pretty broad, but this should get you in the right direction.
If you are familiar with sql commands.Why dont you try sqlite for creating a database where you can store the results, update them ,retrieve them.you can refer to this site http://www.techotopia.com/index.php/IPhone_Database_Implementation_using_SQLite
or this one
http://www.icodeblog.com/2008/08/19/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-1/

How to make connectivity between sqlite3 file and iphone application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i am working on a application which needs connectivity with database i had create database and import it successfully but i dont know how connect it with code can any help me?
Let me google it for you.
http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/
http://www.icodeblog.com/2008/08/19/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-1/
The sqlite framework is available on the iPhone, you first need to import it (it's called libsqlite3.0.dylib).
Bear in mind that it's all in C so you have to be comfortable with that.
There are already many tutorials on the Internet on how to use it in an iPhone application.
If you'd rather go the Objective-C way, there is an excellent wrapper around the sqlite C API for the iPhone called FMDatabase: https://github.com/lightory/fmdb
Also, you could have a look at Core Data which, again, will do most of the nasty tasks for you.

how to send some data eg strings to a local web server with iphone sdk? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i want to send a file from my iphone which have some strings to a local web server with iphone sdk?how can i do it ?is there any sample code for it?
I guess using ASIHttpRequest is a common way of doing it, but you could also use NSURLConnection. An example on using NSURLConnection to post data can easily be found. Conceited Code has a couple of tutorials showing both general use of NSURLConnection and posting data with it.
ASIHttpRequest also has some simple examples that should get you going.