开发者

How to check network connection type in Blackberry?

开发者 https://www.devze.com 2022-12-11 02:59 出处:网络
In Blackberry application I want to check what type of network connection is being used on partic开发者_如何学Cular phone, whether it is BES/MDS,BIS-B or Direct Tcp.

In Blackberry application I want to check what type of network connection is being used on partic开发者_如何学Cular phone, whether it is BES/MDS,BIS-B or Direct Tcp. Is there any way to find out this?

Many applications like Jive,Opera and many more are doing this kind of check.

Please help.


The question is quite logical and I do agree with Richard as well. Though a better answer lies in the fact that there can be a logic developed which would involve Service Book parsing and making use of system listeners to check the current coverage status.

I had attempted to make one such logic once in my project which worked for me. I had shared my findings and understanding about the concept in more detail at my blog post. May be you would like to check once.

You can find my blog post here.


Your question springs from an incorrect assumption. A Blackberry could be communicating over any or all of those channels simultaneously. In fact any application may as well. At any particular time you can determine if coverage is sufficient for one of those channels, or register a listener for notification of changing status using net.rim.device.api.system.CoverageInfo.

0

精彩评论

暂无评论...
验证码 换一张
取 消