Network State API
The Network State API allows MIDlets to retrieve state change notifications pertaining to network, SIM and WLAN. For example, network state changes include in home network, no network and in roaming network.