[android-developers] How to get my actual IP address on emulator

2010-04-27 Thread RAJ
Can anyone suggest a solution for emulator to get my own local IP (not 10.0.2.15)? But i want to get my actual IP of my system. Is there any solution to it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to get my actual IP address on emulator

2010-04-27 Thread David Turner
Hmm, here's a proposal: 1. have a small server program on your dev machine, listening to any:6000 2. have your application detect it is running in the emulator, then connect to 10.0.2.15:6000, this should get it through the server 3. have the server output its IP address to the client. 4. profit