The Network State API provides the following classes and interfaces (packaged as a part of the Nokia API):
Use the NetworkState
class to retrieve network state and to subscribe or unsubscribe
state changes of the network.
Use the NetworkStateListener
interface for listening to change notification
of phone network state change events.
Use the SIMState
class to retrieve SIM state and to subscribe or unsubscribe to SIM
state change events. It tells whether the SIM state is ready, not
ready or no SIM.
Use the SIMStateListener
interface for listening to change notification
of SIM state change events.
Use the WLANState
class to retrieve WLAN state and to subscribe or unsubscribe to
WLAN state change events. It tells whether the WLAN state is connected
or not connected.
Use the WLANStateListener
interface for listening to change notification
of WLAN state change events.
For more information about using the Network State API, see: