Question: how to send data from android to php?
Answer:  Create User login Form in android app.  Get form data using MainActivity. class(value holder class).  Create Database table to store user details.  Create PHP server to accept data from android client.  Run App in Real Device using USB Debugging.