I want to parse the below given data using resultsRequestSOAP object in order to display the message "registered successfully" if the log-cat responsecode== 1, "try again"if response is 0 in my activity, I tried a lot to show the dialog box according to the logcat response but as I am new to android I couldn't able to do that. please some one help me with code snippet if possible.
I m getting the responses 1,0 in my logcat but with this I want to display the alert dialog box in my activity
Help is always appreciated...!
request.addProperty("email", email);
request.addProperty("contact", contact);
request.addProperty("fname", fname);
request.addProperty("lname", lname);
request.addProperty("gender", gender);
request.addProperty("dateofbirth", dob);
request.addProperty("password", password);
request.addProperty("latitude", 76);
request.addProperty("longitude", 82);
request.addProperty("device_id", "12345");
aht.setXmlVersionTag("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
aht.call(SOAP_ACTION, soapEnvelope);
SoapObject resultsRequestSOAP = (SoapObject) soapEnvelope.bodyIn;
Log.v("TAG", String.valueOf(resultsRequestSOAP));