I am a beginner to android and have designed a login GUI for app where a user will enter the login details. After fetching login details in java code (in strings) how can I pass it to server to check for a valid combination? Also when a new user enter registration details how can I pass it to server and store it in DB (MySQL DB)? What is the purpose of web service? Should I use web service or servlets (this is not the only thing later in my app I need to send contact details to/from server)?
I’ve read about SOAP and REST web services which one should I prefer? I would like to code in java for everything. Should (or can) I use Google AppEngine for server part? Am I supposed to create XML file of login details to send it to web service in case I use it?
A sample code could be of great help…
Thanks in advance.
I am a beginner to android and have designed a login GUI for app
Share
Web Services are used for passing and performing operations in databases of remote servers. You can use JSON type for parsing data & sending data to server.
Take a look at this link