How to post values to webservice in android

前端 未结 4 1763
一向
一向 2021-02-06 19:00

I want to get some clues about posting the values to the webservice...

When i post the values, i get the response in xml that has to be parsed. Any tutorials of posting

4条回答
  •  南笙
    南笙 (楼主)
    2021-02-06 19:18

    Looks like this question is pretty old, but I thought I would add this for anyone else that comes along.

    The lukencode.com provided above works, but it runs on the main thread and blocks, so it can cause the dreaded "Application Not Responding" error from Android. There is a similar solution available that breaks it out onto it's own thread so it can run asynchronously without blocking here.

    Rest service wrapper

提交回复
热议问题