问题
How do I add a double property to a ksoap2 request?
request.addProperty("doubleProperty", 1.0);
There are no nice and clear answers on the web.
回答1:
In order to send the double value as a request parameter you need to use Marshaling concept.
Have a look at this tutorial
I also found this to be useful.
Try googling for more info on the Marshaling concept
All the best
Cheers
来源:https://stackoverflow.com/questions/7830239/double-with-ksoap2-on-android