Help Center

Local Navigation

Enhanced Network API

You can specify how your application opens a connection to a wireless network by using the enhanced Network API that is provided in the net.rim.device.api.io.transport and net.rim.device.api.io.transport.options packages. The Network API simplifies how your application establishes a connection to a wireless network and enables you to find the wireless transport types available on the BlackBerry® device. For example, you can use the Network API to find the availability and signal strength of a Wi-Fi® network that your application can use to open an HTTP connection.

You can use the Network API to specify a preferred list of wireless transport types. For example, if a Wi-Fi network is not available or does not have sufficient signal strength, you can have your application search for other transport types, such as a cellular network. If you do not specify a transport type, by default the BlackBerry device searches for all available transport types.

For more information about the Network API, see the BlackBerry Java Application Development Guide and the API reference for the BlackBerry® Java® Development Environment.


Was this information helpful? Send us your comments.