Get boolean from SoapObject (kSOAP2)
问题 I'm trying to get a boolean value from a SoapObject, I've gotten from a response from a web server using kSOAP2 in Android... I've saved the response form the web call in a SoapObject: SoapObject sResult = (SoapObject)envelope.bodyIn; and I'm iterating through the response and grabbing the values SoapObject soapresults = (SoapObject)sResult.getProperty(0); for (int i = 0; i < count; i++) { SoapObject mail = (SoapObject)soapresults.getProperty(i); /*Getting the values here*/ } A mail