Is there any way to connect to a SQL Server from an Android application and execute/query SQL statements using Web Service?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will simply have to access the server via a web connection. I would strongly suggest you write server-side scripts for sql statements. Then you can access the information those serverside scripts provide with a HttpClient. Sample code below.
Make sure you do all networking in a Async Task.
Also you will need modify your manifest file for Internet permission