I was able to get the IP address using the following code:
public String getLocalIpAddress() {
try {
for (Enumeration en =
NetworkInterface.getNetworkInterfaces(); en
.hasMoreElements();) {
NetworkInterface intf = en.nextElement();
I'm developing an application that makes an intensive use of data
connection in GPRS network. I'm currently using DatagramSocket and I
have some questions with regarding to PDP context activation and
network failures.
In summary, I would like to know how to detect programmatically some
scenarios a
2 matches
Mail list logo