Click here to Skip to main content
11,639,126 members (63,795 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Android

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 26-Apr-11 18:58pm
Edited 26-Apr-11 19:32pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

nareshbammidi at 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 at 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 at 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 at 27-Apr-11 1:47am

Read the articles and you would know all. Just the .NET framework to develop the webservice.
nareshbammidi at 27-Apr-11 1:57am
i executed some sample codes those connecting to that code there is an uri for would i create that uri?
aspnet_regiis at 7-Aug-12 8:07am
Learn the basics of Web services..
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

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

  Print Answers RSS
0 Suvendu Shekhar Giri 280
1 Sergey Alexandrovich Kryukov 279
2 Richard Deeming 200
3 CPallini 187
4 PIEBALDconsult 175
0 OriginalGriff 9,081
1 Sergey Alexandrovich Kryukov 8,812
2 Mika Wendelius 7,027
3 Suvendu Shekhar Giri 2,600
4 F-ES Sitecore 2,548

Advertise | Privacy | Mobile
Web03 | 2.8.150728.1 | Last Updated 7 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100