Call requires API level 19 : org.json.JSONArray#remove
under API:19 can use
}public static JSONArray RemoveJSONArray( JSONArray jarray,int pos) { JSONArray Njarray=new JSONArray(); try{ for(int i=0;i<jarray.length();i++){ if(i!=pos) Njarray.put(jarray.get(i)); } }catch (Exception e){e.printStackTrace();} return Njarray;