What is the best way to connect a SQL server with Android using a connection string?
-
-
Answer:
There are many options available. I'd like to share a few one. 1. Make a web service that process a request from app and responds accordingly. That is, you pass some SQL query parameters from app to the web service and let your web service handle the request. This web service can be of any type JAVA, PHP, etc. You just need to use standard HTTP methods. http://www.tutorialspoint.com/android/android_php_mysql.htm 2. Make a web server. It does the same task as above but you dont need to host your services. Your PC will do all the task. For that, you need to do SOCKET PROGRAMMING You can learn Socket programming in http://java.http://www.javaworld.com/article/2077322/core-java/sockets-programming-in-java-a-tutorial.html
Shail Shah at Quora Visit the source
Other answers
You don't. You write an APi based application on the server and use the http protocol to request data from the server or send data to the server. That APi can be written in any number of ways and languages but seeing as you are asking about MSSQL I particular, the server side is more likely to be c#.
Bastien Koert
There are few steps that need to be followed when we connect a SQL Server with Android Take a look at this link: http://www.parallelcodes.com/connect-android-to-ms-sql-database/
John Walker
Related Q & A:
- What's the best way to get a job in a restaurant?Best solution by Yahoo! Answers
- What is the best way to connect to directv on demand?Best solution by Yahoo! Answers
- What's the best way to connect my PC to my TV?Best solution by Yahoo! Answers
- What's the best way to make a good impression at a job interview?Best solution by Yahoo! Answers
- What's the best way to connect a home theater system?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.