Skip to content Skip to sidebar Skip to footer

How To Connect Localhost Phpmyadmin To Android Emulator

I'm having trouble in the HttpPost part because it cannot create a connection. I tried in the browser by entering in the address bar ipaddress/directory or 127.0.01/directory. It w

Solution 1:

<uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>

You should check out this : http://developer.android.com/guide/appendix/faq/commontasks.html#localhostalias

(use the alias "10.0.2.2" instead of "localhost" or "127.0.0.1")

Solution 2:

to work with emulator change 127.0.0.1 to 10.0.2.2 refer here and make sure you have set the Internet permission in the manifest.

<uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>

Post a Comment for "How To Connect Localhost Phpmyadmin To Android Emulator"