I'm developing an app that inserts data into database without using any webservies. I've created a database on my notebook with MySQL workbench. I am able to insert data into the database using emulator, but I cannot insert data into the database using my phone. I have changed the path from
jdbc:mysql://10.0.2.2:3306/ with jdbc:mysql://xx.xx.xx.xx:3306/
xx.xx.xx.xx is from ipconfig of my localhost machine. I've tried again with emulator and I'm still able to insert data, but when I try with phone I cannot. What could be the reason?