【发布时间】:2017-08-15 07:07:10
【问题描述】:
HttpAsyncRequest request = new HttpAsyncRequest(
MapsActivity.this,
Constant.BaseUrl,
HttpAsyncRequest.RequestType.GET,
new MarkerParser(), listener);
request.addParam("array",arr); //this is not working
request.execute();
我想将 latlng 的数组列表发送到我正在使用 http 请求的服务器,但我们只能通过它发送字符串。如何发送 latlng 的数组列表?
【问题讨论】:
-
这到底是什么库?
-
loopj.com/android-async-http 这是我正在使用的库@MatiasOlocco
-
你为什么不像文档说的那样使用
RequestParams? -
而且我在库中也没有看到该类,您使用的是最新版本吗?我建议您切换到维护更完善的库,例如 Retrofit
-
1.当我长按地图时,标记将在地图上设置等等有一个我想在 php 服务器上发送的 latlng 数组列表
标签: android post arraylist android-async-http