Android:Confused / Lost with使用Send和调用PHP Web服务;接收

时间:2012-08-15 15:45:59

标签: php android web-services

从我的Android应用程序,我想调用php web服务。有时,我只需要一些来自php的数据,有时根据传递的参数获取数据。我喜欢像HttpClient一样使用RAW Api。我还计划使用mySql DB。

要调用php网络服务,我收到了http://lukencode.com/2010/04/27/calling-web-services-in-android-using-httpclient/http://www.anddev.org/doing_http_post_with_android-t492.htmlhttp://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/

的推荐信息

我很沮丧: 例如:我用我的网址传递2个参数“http://......php?src = SOURCE& dest = DEST REsult - 从SOURCE到DEST的方向(有时结果可能是一系列字符串,项目等)

  1. 如何发送&在单个请求中接收数据?
  2. 如何为php编写相同的内容?
  3. 是否需要使用原始aPI或JSon或ksoap完成上述操作?我已经读过,而不是使用Jsoan或Soap,raw是最好的方法。
  4. 请帮助我解决困惑,并在申请时继续进行。 任何帮助都非常感谢。

    由于

1 个答案:

答案 0 :(得分:0)

是的,

alfasin,通过你的帖子和其他网站我得到了正确的工作。