This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
MySQL C API libraries for iPhone
I am making an iPad application that needs send and get information from a MySQL database. My boss refuses to use php on this project. I've looked everywhere and I cannot find a way to directly query and connect to a MySQL Database through an iOS application. Any help is greatly appreciated. Thanks in advance.
-Freddy
You need to build the MySQL client library for iOS, and link it into your project. These posts look helpful:
Build MySql client library for iPhone/iPad
Use the MySQL client library in iOS project
Related
This question already has answers here:
iOS devices as web server [closed]
(4 answers)
Closed 1 year ago.
I am wondering if developing web services is possible using an iPhone as a web dev. server?
If so how?
You could try CocoaHTTPServer. This is an open source HTTP server for Mac/iOS.
It is cost effective and easy to run Raspberry Pi as production webserver simply because battery will not die, you can make cluster. iPhone as a web server is actually 7 years old idea, there is apps, News, video guides on YouTube.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How do I associate file types with an iPhone application?
I am working on an app that allows everyone to read books like Epub, PDF, ACSM. I installed the app on my IPAD via testflight and then I went to safari to download a ACSM file and tried to open the same.
Safari then gave me suggestions of a few app but it didn't include my app. I am not sure how this works. Any information would be very useful.
I want to have the file copied to the documents directory of my app so that the user will be able to access the same from the library section of the application.
My question has been answered in the following link:
How do I associate file types with an iPhone application?
It solved my issue. Thanks again!
I am new to programing iPhone applications.
I am pretty much done building the interfaces and I built a database using Visual Studio 2008.
Now I want to connect my application to that database using a SQL server as a web service (that acts as an intermediary layer between my application and database). I will reserve a server for the database later.
My question is: I have a log in a view where I ask for the username and password, how can I use the information from Xcode and send it to the database to verify it?
Your help will be very much appreciated.
From your description I am not sure if I understand, but if you need to have an app and some webservice with data you can check for example this tutorial from Ray Wenderlich:
http://www.raywenderlich.com/2965/how-to-write-an-ios-app-that-uses-a-web-service
Also, you might find useful this SO question:
iPhone app and web service
This question already has answers here:
How do i query data from SQL Server 2005/2008 databases to iPhone
(2 answers)
Closed 9 years ago.
Is it possible that we access SQL Server 2005/2008 through iPhone app using any Framework, Library etc. I know that SQL Server can be accessed using XML web services & those web services can communicate to an iPhone app. I want to confirm if we can directly access the SQL Server 2005/2008 without using XML Web services
It demonstrably is possible to connect direct from iOS to SQLServer, check out http://www.impathic.com/impathic/index.html
What does not currently seem to exist is a library to assist in implementing this. I'd love for somebody to prove me wrong!
It might be possible to use the FreeTDS library. I have used in the past for some test projects.
The only problem is the license, which might be incompatible with the App store, so creating an app which you want to distribute using the App store, won't be accepted.
If you would like, I can send you a little wrapper I wrote a year or two back.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
File Upload to HTTP server in iphone programming
How can i upload images and text to HTTP server in iphone programming...and which API used for it........
Thanks in advance..
The most popular 3rd party library in all of iOS is ...
http://allseeing-i.com/ASIHTTPRequest/
basically every single iPhone app uses it. the instructions are trivial and are right there on the page - enjoy
Do not forget to make a donation to the guy, even a small one -- if he stops supporting it the entire iPhone industry will collapse!
This is already been discussed here
File Upload to HTTP server in iphone programming