Android : connect to genymotion as a server socket by real mobile device and another virtual device

on Monday, August 4, 2014


I have a socket server android app and a client one, that I downloaded from:


http://examples.javacodegeeks.com/android/core/socket-core/android-socket-example/


I want to run my server socket on a genymotion and run 2 clients one is my mobile phone and another is a virtual device mobile(it is also a genymoition virtual device runs on the same machine that my server is running).


my problem is how to config the ip addresses and ports. how to set my server genymotion ip and port and how to set my mobile and other virtual device ip ? all of them in the same wifi network .


0 comments:

Post a Comment