Is there an RIM API available that will help get a list of available network services or just Wi-Fi networks for a device and set up a selected network access point for any network communications?
Is it possible for my application to disable mobile networks such as GPRS, WAP, etc.?
Example:
When the application starts, it should scan Wi-Fi connections, even if the device does not have previous Wi-Fi access points and a list of available Wi-Fi connections. Then the user will select the appropriate Wi-Fi connection to connect for any network connection. Outside the application, any Internet connection, such as a browser or any other application, must be made through the same selected Wi-Fi connection. Scanning for Wi-Fi and setting up a connection are almost identical to the settings of Wi-Fi BlackBerry.
I want to do this for BlackBerry OS 4.5, 4.7 and 5.0.
Update
The fact is that I'm looking for scanning via Wi-Fi through the application. As through the application, I can scan available access points or Wi-Fi access points and install one of the access points by selecting it on the device, then connect to it for communication.
Basically, how do we establish a Wi-Fi connection in the "Manage connetion" of a BlackBerry? I have to do something similar with the application.
From some BlackBerry forums, I found out that there is a package in OS v5.0, i.e. package net.rim.device.api.wlan.hotspot to get Wi-Fi hotspots, But after a long search I did not find a single example of the example or many explanations. Since I am trying to implement by studying its API documentation, but I have not succeeded.
If you have an idea related to this or any sample code, this will be very helpful.