Send fix from android to codeigniter

0

I currently send the information one by one, going through the bdd sqlite in the following way:

do {
                final Map<String, String> parameters = new HashMap<String, String>();

                parameters.put("idseparacion",idseparacion);
                parameters.put("idcalidad", cursor.getString(0));
                parameters.put("cajas", cursor.getString(1));
                parameters.put("peso", cursor.getString(2));
                basededatos.CalidadDefault(Integer.parseInt(cursor.getString(0)));
                if(!cursor.getString(1).equals("0")) {
                    ProcessRequest(parameters);
                }
            } while(cursor.moveToNext());
            Toast.makeText(Separacion_App.this, "Se ha enviado tu separacion", Toast.LENGTH_LONG).show();
            finish();
        }

but I think it is not convenient to do so, what I am sending is the tabla detalle in codeigniter is a bit easier to do, currently work with it. How can I create an arrangement of this information and that codeigniter is responsible for processing it without having to send one at a time. I'm using volley

    
asked by DoubleM 07.05.2018 в 16:29
source

0 answers