Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
New Developer
Posts: 9
Registered: ‎03-04-2013
My Device: 9320
My Carrier: Airtel
Accepted Solution

Get All Available WiFi

I am able to set up a sample code, that returns all the available wifi using:

http://supportforums.blackberry.com/t5/Java-Development/Scanning-wifi-network-in-app/td-p/1676063

 

But as per the API (http://www.blackberry.com/developers/docs/7.1.0api/ (Class HotspotClientRegistry)), two things i noticed:

1. User Interaction is required so that one can install the hotspot client

2. Only un-secured WiFI networks will be returned as result.

 

Questions:

1. How can we avoid the user interaction ?

2. How can we return all the wifi networks (included the secured ones as well)

New Developer
Posts: 9
Registered: ‎03-04-2013
My Device: 9320
My Carrier: Airtel

Re: Get All Available WiFi

Any answer to my post ?
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Get All Available WiFi

I am not aware of any other API or workaround to achieve what you want.  The answers to your questions, as far as I know, are:

1) No

2) You can't.

 

This question or one very similar has been asked before and the answer is consistently been that Blackberry do not provide a way to connect to any network without the users involvement.  I think that BlackBerry believe this is a security feature.  Search the forum if you want more. 

 

Sorry I can't be more helpful.