Aug 26, 2016, 2:13:31 PM via Website
Aug 26, 2016 2:13:31 PM via Website
Actually, I'm developing a registration form in android using android studio in windows and I have to
add insert the user data to xampp mysql database..
— modified on Aug 26, 2016, 2:16:56 PM
Aug 29, 2016, 8:20:41 AM via Website
Aug 29, 2016 8:20:41 AM via Website
Then, you'll have to code the server part (in PHP for example), in order to catch the POST request sent from your Android app.
It'll go like:
- Your Android app posts registration data to your server
- Your server (a PHP app), receives the data and save it to your database (if you're using XAMPP probably it's a MySQL)
Aug 29, 2016, 8:37:25 AM via Website
Aug 29, 2016 8:37:25 AM via Website
Ok... using the php script I can add data to the database.. But when the I think I have problem with the communication between android studio and php script. I think it may be the url for localhost specified in the javacode..