Issue
Could we access local host from Geny Motion like using IP 10.0.2.2 on Android Virtual Device?
Solution
To access your localhost through Genymotion is using your PC IP address. to get your IP address go to:
start -> cmd -> ipconfig
then search for IPv4, copy the IP and paste it in your URL. It should looks like the following:
String YourURL = "http://192.168.0.101/your_script_location.php";
Answered By - Karim Baidar
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.