Click here to Skip to main content
15,887,836 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi friends,

I am new to android application. But recently i developed a small android application. Now i wont to connect my application to SQL-Server database for log in credentials and loading data into grid view. But now i don't know how to work with calling or executing the SQL-Server stored procedures in android application. So can u guys please help for how to execute stored procedures in my android application.

Thanks in advance
Posted
Updated 11-Mar-14 11:11am
v2

In order to achieve this, you need to create a Web Service, which can interact with the database and server this to your application.
I assume that you know how to fetch the data from service to .NET client, So all you want is, consume this service on Android.

Follow this tutorials :
WCF and Android Part I[^]
WCF and Android: Part II[^]

-KR
 
Share this answer
 
First thing is in android application, you want to call webservice..

Ex:
"http://ur server ip along with port/WebServiceName.asmx/ur Method Name"

Then in Visual studio You have to create Method name what u have specified in android app

Through that method call SQL- SERVER


Hope it clear
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900