我正在尝试开发一个简单的BB OS < 7.X应用程序,它唯一做的事情就是启用推送通知。我以前处理过推送通知(android,wp7,iOS),但BB的实现真的很棒。
我知道为了让设备能够接收推送通知,必须启用BIS或BES。到目前为止一切都很好,只需一个简单的调用就可以启用它。
然而,到底有什么区别呢?我应该为大多数使用BIS的用户开发一个应用程序。然而,我被给予开发的电话已经启用了BES。
这是否会影响我在开发过程中的“代码”?我当然不会这么认为,但我见过实现推送的代码示例,例如使用BES,你不需要在代码中提供推送端口等等。
我引述如下:
In the case of BIS, your carrier operates the server. Everything from BIS to your handheld
is encrypted, but that’s about the extent of the security features. The
carrier can decide what applications run on your phone,and how applications
communicate with the Internet.
For BES, your company operates the server, and usually has it sitting somewhere
within the corporate network. The IT department controls all aspect of the BES
server, and it’s likely sitting in a nice and secure location.他们说的是什么“服务器”?我知道“我的服务器”,因为我写了它,它联系BIS发送推送通知,它注册我的用户令牌等等。那么,我的公司拥有的“新服务器”是什么呢?据我所知,我的公司没有任何类型的服务器。我们只有一部启用了BES的电话...
我不明白这里的服务器端和客户端是如何连接的。通过BES开发推送和通过BIS开发推送有区别吗?如果服务器是BES,但客户端有BIS?如果有人能向我解释一下这些事情,我将不胜感激。
发布于 2013-04-11 00:40:09
看看这些链接:
http://developer.blackberry.com/java/documentation/push_service_overview.html http://devblog.blackberry.com/2010/03/introducing-blackberry-push-services-to-developers/
简而言之,BIS是由RIM管理的代理服务,而BES就像是由公司管理的企业BIS服务器。
至于推送,您可以在registration form for evaluation中选择是否只需要BIS或BIS+BES (有一个“传输推送”组合框)。当您要访问register for production时,您可以选择推送服务类型(加或基本)。
https://stackoverflow.com/questions/15925034
复制相似问题