This article applies to the following:
Third-party developers commonly request a way to determine the name of the current network on which the BlackBerry smartphone is registered. This name can then be used to determine several important pieces of information, including the following:
In BlackBerry Device Software 4.2.1 and later, a new method has been added to the
String networkName = RadioInfo.getCurrentNetworkName();
The following code can be used to identify whether a BlackBerry smartphone is currently roaming:
int networkService = RadioInfo.getNetworkService();
Note: The BlackBerry smartphone must be registered with a network for these methods to work.