Hello all,
I'm new to android and I'm trying to write a code that access a MySQL database.
I tried to follow
the tutorial from HelloAndroid.com
I have a wamp server on my windows machine, and a MySQL database on it. and here is my code:
but all I get is the error "java.net.SocketException.permission denide".
I tried to change he post's url to "http://www.google.com" I get a java.net.UnknowenHostException
http://www.google.com.
I tried to access my php script using the android web browser, using the address
http://10.0.2.2/myscript.php.
I get to the page and it run perfectly. so there is no firewall or server problems. I think.
It is something with my application. any hits, please?