Android Emulator interconnection

RobokopLG

New Member
Hi guys i have a question how can i interconnect two android emulator instances and how can i test if the connection is successful? After connection i want to use it with socket programming. Please help me.
 
Last edited:

RobokopLG

New Member
I haven't tried it. I recommend you to use real devices instead. It will be simpler and more reliable.

I've tried it this way but I didn't understand how to use it or if you like, how to set it up. I don't understand how to:

Set up the server on B, listening to 10.0.2.15:<serverPort>
On B's console, set up a redirection from A:localhost:<localPort> to B:10.0.2.15:<serverPort>
On C, have the client connect to 10.0.2.2:<localPort>

Or where should i set it up. Except redirection, this is the only thing i know where and how to set it up. Real devices are good but I don't have 2 mobile phones with android. :(
 
Upvote 0
Top