08-13-2008 01:26 PM - edited 08-13-2008 05:04 PM
My application needs to do the following:
Find wifi access points stored in the device and go through each one to see which is available. If available, connect.
I've been searching the forums and I've bits of information but I still don't see the whole picture.
1) How do I find wifi profiles on the device? By using Servicebook? Using JDE 4.5 8820 simulator
Solved. By iterating through Servicebooks.
2) What does it mean when 5 is returned?Total number of active WAFs?
RadioInfo.getActiveWAFs()
3) How would I connect to a desired access point?
(StreamConnection)Connector.open("socket://...")
Thanks in advance.
08-14-2008 11:16 AM
08-14-2008 11:26 AM
Thanks for the reply. Now my question is how can I define access points on my simulator so I can do tests on it?
08-14-2008 01:44 PM
08-14-2008 03:00 PM
The functionality is clearly available at the Java layer, so it's a conscious decisions on RIM's part not to expose these APIs to developers.
Is there a good reason for this?
Earl