I had tried on my emulator, it can connect to the java web service I created. But when I try to access from my android device, it does not work. Is anyone know how to get through this?
Another question is, by doing this way, is that possible 2 android devices access to the same database?
I am using Tomcat server and MySQL database. The web service is actually use to get the data from the MySQL database and pass to my android phone.
Thank you in advance.
Can you run the service on your LAN IP instead of as localhost and connect the phone through wifi?
It can also be possible to connect via setting proxy.