How To Best Use Php Soap With Android?
I'm trying to get the info from a SOAP in PHP and I achieve that task with the help in this post Android SOAP wsdl. Although, there are a few things missing that I would like you t
Solution 1:
I managed to get this working this way:
String strRet = response.toString();
String[] lines = strRet.split(",");
List<String> array_cat = new ArrayList<String>()
for(int i = 0; i <= lines.length - 1; i++){
String cat = lines[i].substring(10, lines[i].length() - 2);
array_cat.add(cat);
}
But I'm still with the problem of encoding. I know that the problem comes from PHP, if anyone have any solution, I appreciate.
Post a Comment for "How To Best Use Php Soap With Android?"