[android-developers] Questions related to IP addresses on Android

2009-01-17 Thread Tez
Hi, I have a few questions regarding IP addrs 1. When a device acquires an internet data connection, it obtains its own IP addr, right? 2. How do I obtain this IP when i'm running the emulator? I've tried using the InetAddress class of java.net, but i get 127.0.0.1 as the IP, What i want is

[android-developers] Questions related to IP addresses on Android

2009-01-17 Thread Tez
Hi, I have a few questions regarding IP addrs 1. When a device acquires an internet data connection, it obtains its own IP addr, right? 2. How do I obtain this IP when i'm running the emulator? I've tried using the InetAddress class of java.net, but i get 127.0.0.1 as the IP, What i want is