Send array from android and receive at PhP server using Volley
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi I want to send an array of String value to PhP server and PhP decode and store them in PhP variable Here is my code at android studio private void getEventDetailRespond(RequestQueue requestQueue) { JSONObject params = new JSONObject(); try { for (int i=0; i <eventIDBeacon.size();i++){ params.put(Config.EVENT_ID, eventIDBeacon.get(i)); } } catch (JSONException e) { e.printStackTrace(); } //Creating a JSONObject request JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(Request.Method.POST,Config.DATA_URL,params.toString(), new