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
Post a Comment