Connecting Wamp server with Android -


eclipse showing warning,

"no dns servers found".

i using 10.0.2.2 in httpclient class in java file.

i have alredy added internet permission in manifest.xml file.

in java program :

url = "http://10.0.2.2/serverfolder/form.php"; 

if laptop online , 10.0.2.2 working in emulator browser , in laptop browser working. eclipse android working, if laptop not connected internet eclipse console showing warning

no dns server found

, , android program not working.

you code url = "http : // 10.0.2.2 / serverfolder/form.php"; should not contain spaces.

as dns error, see top answer here: dns server cannot found


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -