How to call a json webservice through android

前端 未结 4 1056
不知归路
不知归路 2020-12-31 07:28

I need to access a .Net web service in Rest format using JSON. I m pretty new to this concept and very much confused about how this works.... Any one who can give an overvie

4条回答
  •  情深已故
    2020-12-31 07:40

    you use the json data as follows:

    var a=new JSONObject(jsonData);
    

    http://developer.android.com/resources/tutorials/views/hello-mapview.html

    Use the data from a to constuct the necessary objects and do the necessary with the same

提交回复
热议问题