php – Error registering by mail with Volley

Hello, I practice with Android Studio and make a basic app that can select, insert, update and delete data via a web service with PHP and a database in MySQL.
I do the registration (paste) but if I confirm, nothing happens.

Public class Registration extended AppCompatActivity implemented View.OnClickListener {

// declaration of variables

Private EditText Name, Last Name, Email, Password, Phone, Address;
private button btn_acept, btn_atras;

@Run over
protected void onCreate (bundle savedInstanceState) {
super.onCreate (savedInstanceState);
setContentView (R.layout.activity_register);
/ * ////, / /, / / ​​/ / / / /

setContentView (R.layout.activity_register);
// variable assignment

name = findViewById (R.id.et_name);
Family name = findViewById (R.id.et_lastname);
email = findViewById (R.id.et_email);
password = findViewById (R.id.et_pass);
telefono = findViewById (R.id.et_tel);
address = findViewById (R.id.et_address);
btn_accept = findViewById (R.id.btn_reg_acept);
btn_atras = findViewById (R.id.btn_reg_atras);

// event
btn_atras.setOnClickListener (new View.OnClickListener () {
@Run over
public void onClick (View v) {
Intent intentReg = new Intent (Registration.this, HomeSession.class);
Registry.this.startActivity (intentReg);
}
});

// event
btn_aceptar.setOnClickListener (this);



}


@Run over
public void onClick (View v) {
// variables that receive what is written in the editText for the database

end String client_name = name.getText (). toString ();
end string client_lastname = surname.getText (). toString ();
end String client_email = email.getText (). toString ();
end String client_contrast = contrasena.getText (). toString ();
final int tel_client = Integer.parseInt (telefono.getText (). toString ());
end String address_dir = address.getText (). toString ();

Final Response.Listener respoListener = new Response.Listener() {
@Run over
public void onResponse (string response) {
try it

JSONObject jsonResponse = new JSONObject (answer);
boolean success = jsonResponse.getBoolean ("success");

if (success) {

Intent = new intent (Registry.this, Home.class);
Registry.this.startActivity (Intent);
}
miscellaneous

AlertDialog.Builder builder = new AlertDialog.Builder (Registry.this);
builder.setMessage ("registry error")
.setNegativeButton ("Repeat", null)
.create (). show ();
}

} catch (JSONException e) {
e.printStackTrace ();
}

}
};

RegisterRequest registerRequest = new RegisterRequest (customer name, customer name,
customer_email, customer_contrasena,
customer_phone, customer_address, respoListener);
RequestQueue Queue = Volley.newRequestQueue (Registration.this);
queue.add (registerRequest);
}
}

Use the class

public class RegisterRequest extends StringRequest {

private static final String REGISTER_REQUEST_URL = "http: //IP/web%20service/Registro.php";
private card params;

public RegisterRequest (string customer_name, string customer_lastname, string customer_email, string customer_contrast,
int tel_phone, String redirector, Response.Listener Listener) {

super (Method.POST, REGISTER_REQUEST_URL, Listener, null);
params = new HashMap <> ();
params.put ("customer name", customer name);
params.put ("customer_surname", customer_surname);
params.put ("client_email", client_email);
params.put ("customer_contrasena", customer_contrasena);
params.put ("telephone_client", telephone_client + "");
params.put ("clienet_direction", address_client);

}

@Run over
public map getParams () {
Return Params;
}}

And that's the PHP code


I made a selection in a similar way and it works so that I do not know what's going on.

android – How do I save my data stored in SQLITE on a remote MySQL server (Volley)?

I'm trying to decode and the truth is that I'm already very burned and can not figure out how to save my SQLITE list (shopping cart with items and prices) in a remote MySQL database (I work with Volley);

The topic is like this
First, I get my SQLITe data and save it to a list:

                private list recoverListaSQLite () {
AdminSQLiteOpenHelper admin = new AdminSQLiteOpenHelper (getApplicationContext (), "orders", null, 1);
SQLiteDatabase bd = admin.getReadableDatabase ();
Cursor Cursor = bd.rawQuery ("SELECT name_art, price_art, code_art, Quantity_art FROM Orders", null);

DecimalFormat df = new DecimalFormat ("#. 00");
if (cursor.moveToFirst ()) {
do {
OrderBean article = new OrdersBean ();
articles.setartname (cursor.getString (0));
articles.setPrice_art (cursor.getDouble (1));
H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H?
articulos.setCantidad_art (cursor.getInt (3));

listaSQLite.add (article);

} while (cursor.moveToNext ());
}


bd.close ();

return listSQLite;

}

? H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H?
I make it JsonArray? I swear, I do not know. please some help

android for work – POST data in array lists (or arrays) within arrays with volley or retrofit

jSON output / inserted data will look like this:

"email": "john.doe@example.com",
"first_name": "John",
"last_name": "Doe",
"Username": "john.doe",
"Billing": {
"email": "john.doe@example.com",
"Telephone": "(555) 555-5555"
},

Any method is okay, not just volley or retrofit …