-->

Double with ksoap2 on Android?

2019-07-10 04:39发布

问题:

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