I have a php webservice that returns a json array using json_encode(array("moviemakers"=>$rows)). I need to make the json array request from android with parameters.
I saw this:
public JsonArrayRequest(int method, String url, JSONObject jsonRequest,
Listener<JSONArray> listener, ErrorListener errorListener) {
super(method, url, (jsonRequest == null) ? null : jsonRequest.toString(),
listener, errorListener);
}
When I use it in my code, it generates an error.
Could anyone guide me where to put the above snippet in my code?