01-17-2011 07:44 AM
Hello guys!
How can I identify a network(Transport)? For example I have detected a WIFI network and I want to give it some friendly name and save it locally so that in future if this netwrok is detected, It may connect directly to it.
I looked into TransportDecriptor. I can get CID and UID. But I think these are for local service record.
Anybody please guide me.
Thanks in Advance
Shujaat
01-17-2011 08:19 AM
Have a look into RadioInfo API.
01-17-2011 08:38 AM
Thanks for the quick reply. Since I am a beginner in BB world, if you can tell me about any sample code or something else that may help me.
01-17-2011 09:45 AM
Try with...
RadioInfo.getNetworkName(RadioInfo.getCurrentNetwo
.. it returns an String.
01-17-2011 10:47 AM
I tested it. On simulator it returns "Default CDMA Network".
I don't want to be spoonfed but here is what I want:
The problem is how to find available wifi networks and what is the unique parameter that identifies these.
If you can please provide code for finding available wifi networks and tell me the way to find uniqueness in these, I ll be greatful to you.
01-18-2011 02:39 AM
Then you can also try to find something in this forum, like for example...