I have an Android application which needs username and password to login. I need to save the username and password in a remote server by entering the details in the register page with an alert box showing Registered successfully. When the user opens the app next time, he will login. I want to use client/server mechanism. After I get the response, I want to parse it either using sax parser or soap. I searched a lot through Google, but I didn’t find a correct example. As I am new to webservices, I couldn’t solve it. Please help me.
EditText input1 = (EditText) findViewById(R.id.usertext);
EditText input2 = (EditText) findViewById(R.id.Passtext);
String username = input1.getText().toString();
String password = input2.getText().toString();
1 Answer