Search code examples
java-mesymbian

Symbian - find if device is connected to internet


Is it possible using the Symbian Java library to find whether the device is connected to the internet or not?

I don't want to wait for an exception to find out.

Thanks.


Solution

  • There is no practical way to do this in either standard J2ME or using any Series60 Java extension I have heard of.

    Trying to contact a remote server and measuring the time it takes to do so would not be a reliable test because of irregular network coverage (and it would force the device to connect to the internet if it wasn't already).