(The advanced tutorial for Android experts (11) -- Android's general method of obtaining Ip (the method of determining whether the mobile phone is connected to the Internet), or wants to obtain the Ip address of the mobile phone at that time. Of course, the IP address of the WIFI connection is different from that of your 3G card.
Codefans Advanced Course for Android Experts (XI) -- Android's general method of obtaining Ip (a method to determine whether a mobile phone is connected to the Internet) pdf
..... Too many files omitted)