Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am a newbie to android and developing an mobile application which is associated with a website.

In my android application there is a home screen with two buttons namely login and register. When user clicks on register, the form data has to be stored in SQL server. For that, how should I approach?
I heard that we should use webservices to connect SQL DB. But I am not aware of web service.
What is the process to connect?

Please tell me in detail.
Posted
Updated 26-Apr-11 19:32pm
v3

 
Share this answer
 
Comments
nareshbammidi 27-Apr-11 1:30am    
but i want the process to connect sql server through webservice...for that first that what should i prepare.
Sandeep Mewara 27-Apr-11 1:39am    
Webservice would talk to a database. You can place an additional layer between webserivce and database if needed.

Have database, then WebService(or wrapper) talking to that database.
nareshbammidi 27-Apr-11 1:47am    
sandeep..thanks for ur resposnse... do i need to install any special kind of softwares for developing webservices?
Sandeep Mewara 27-Apr-11 1:47am    
No.

Read the articles and you would know all. Just the .NET framework to develop the webservice.
nareshbammidi 27-Apr-11 1:57am    
i executed some sample codes those connecting to webservice..in that code there is an uri for webservice..how would i create that uri?
You need to create web service bridge ,
you can make any web service php , java , .net

You can do
android web service connect to asp web service(or any)
and asp will connect to sql server

and you will require one server as a intermediate like IIS server.
 
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