posted 13 years ago
Dear Javaranch..
I have some problem in my App. I try to connect Android and Mysql database with PHP.
I want to insert some data trough android Textfield. But It can not save to the database.
1. I use XAMPP
2. I use 10.0.2.2 and my Ip address to connect database.
3. I check from Android Emulator browser check connection. and it successfully.
I think the problem in my Main.java file.
Here is my PHP code :
koneksi.php
insert.php
Here is my Android code:
main.xml File
Android Manifest file
Main.java File
Please help me..
Thank you so much..