如何检查黑莓中的网络连接类型?

发布于 2024-08-09 14:41:18 字数 145 浏览 3 评论 0原文

在 Blackberry 应用程序中,我想检查特定手机上使用的网络连接类型,无论是 BES/MDS、BIS-B 还是 Direct Tcp。 有什么办法可以查到这一点吗?

许多应用程序(如 Jive、Opera 等)都在进行此类检查。

请帮忙。

In Blackberry application I want to check what type of network connection is being used on particular 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

↙厌世 2024-08-16 14:41:18

这个问题很合乎逻辑,我也同意理查德的观点。尽管更好的答案在于可以开发一种逻辑,其中涉及服务手册解析并利用系统侦听器来检查当前的覆盖状态。

我曾经在我的项目中尝试过提出这样一种对我有用的逻辑。我在博客文章中更详细地分享了我的发现和对这个概念的理解。也许您想检查一次。

您可以在此处找到我的博客文章< /a>.

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.

亽野灬性zι浪 2024-08-16 14:41:18

你的问题源于一个错误的假设。黑莓手机可以同时通过任何或所有这些通道进行通信。事实上任何应用程序都可以。在任何特定时间,您都可以确定这些通道之一的覆盖范围是否足够,或者使用 net.rim.device.api.system.CoverageInfo 注册监听器以获取更改状态的通知。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文