Double with ksoap2 on Android?

老子叫甜甜 提交于 2019-12-24 03:27:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!