How to scan for available networks for Blackberry device from application?

Posted by amsiddh on Stack Overflow See other posts from Stack Overflow or by amsiddh
Published on 2010-06-07T18:21:53Z Indexed on 2010/06/13 9:02 UTC
Read the original article Hit count: 236

Filed under:
|
|
|

Hi All,

  1. Is there any RIM API available which will help to get the list of available network service or only Wi-Fi networks for a device and set selected network access point for any network communications?

  2. Is it possible programmatically to disable the Mobile networks like GPRS, WAP, etc?

For Ex: When a application is started it should scan for WiFi connections (even if there are no previous WiFi network access points are set on device) and list the available WiFi connection. Then user will select the appropriate WiFi connection to connect for any network communication. Outside the application any internet communication (like browser or any other application) should done through same selected WiFi connection. The scanning for WiFi and setting the connection is almost similar to Blackberry WiFi Setup.

If anyone know how to implement this using available RIM API and let me know its possible or not. Please share if anyone have any code snippet related to this.

I am looking for OS v4.5, 4.7, and 5.0.

Thanks, siddh.

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about wifi