Question: how to send data from android to php server?
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.