有人可以检查/修改我对黑莓开发选项的理解吗?

发布于 2024-09-15 01:51:30 字数 493 浏览 7 评论 0原文

我希望我的 Blackberry 设备能够获取数据并可能将数据设置到服务器,并且对所有选项感到有点困惑:

RIM-Push/Pap-Push。 使用任何能够组合的库对 MDS-CS 服务(不是 MDS-IS)的 HTTP GET 请求。这是从服务器到设备的单向操作。

  • RIM-Push(将 URL 和/或快捷方式推送到设备以便可以离线查看)
  • PAP-Push(与上面相同,但允许消息传送确认)

WebServices:使用 Visual Studio 2008 创建一个仅 Web 服务项目。我不清楚是否不再支持此功能,或者是否使用 MDS-IS。这是一个 2 路操作。

MDS-IS:使用Eclipse开发应用程序,需要Java,我不确定客户端库能够做什么(2路操作)。

如果缺少任何选项,或者我是否需要修改对基础知识的理解,请告诉我

I'd like my Blackberry devices to get and possibly set data to the server, and am a little confused by all the options:

RIM-Push/Pap-Push. Use any library that is able to compose a HTTP GET request to the MDS-CS service (not MDS-IS). This is a one way operation from the server to the device.

  • RIM-Push (Push a URL and or shorcut to a device for possible offline viewing)
  • PAP-Push (Same as above, BUT allows for message confirmation of delivery)

WebServices: Use Visual Studio 2008 to create a Web Services only project. I'm unclear if this is supported anymore, or if MDS-IS is used. This is a 2 way operation.

MDS-IS: Use Eclipse to develop the applications and Java is required, I am unsure of what client libraries are able to do (2 way operation).

Let me know if missing any option, or if I need to revise my understanding of the basics

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

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

发布评论

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

评论(1

淑女气质 2024-09-22 01:51:30

这实际上是一个相当广泛的问题 - BlackBerry 设备与服务器交互的方式有很多种,理想的方式在很大程度上取决于您的特定应用程序。

一般来说:

MDS Studio:不再主动支持 Visual Studio 2008 方法。它是一个主要是视觉形式的设计器,但由于多种原因并不是一个很好的解决方案。基本上不要使用它。

移动网络:根据您需要执行的操作,这可能会起作用。一切都在服务器端。需要注意的是(以及为什么这对很多问题不起作用),在 BlackBerry 6 之前,浏览器的功能并不强大,无论是在 HTML 支持还是 JavaScript 支持方面。不过,您可以创建移动网站的快捷方式,这些快捷方式在 BlackBerry 主屏幕上显示为图标。您可以使用 BlackBerry Web Signals:http://na.blackberry.com/ eng/developers/browserdev/websignals.jsp 将移动网页的更改推送到设备

小组件:在 BlackBerry OS 5 及更高版本中受支持。 http://na.blackberry.com/eng/developers/browserdev/widgetsdk。 jsp 这些程序的打包方式与“本机”BlackBerry 应用程序非常相似,但使用 HTML 和 JavaScript 编写。如果您可以只针对 OS 5 并接受 BlackBerry 浏览器的限制,那么这可能是快速开发的一个不错的选择。许多 JavaScript 挂钩到系统功能,因此它们为您提供比纯移动 Web 更多的功能,并且您可以通过 App World 等分发它们。

Java 应用程序:大多数开发工作,但您可能会获得最佳的用户体验和最多的功能。这个主题太广泛了,无法在这里充分讨论,但是在 SO 和其他地方有很多与这些相关的问题。 BlackBerry 开发者专区是一个很好的起点:http://www.blackberry.com/developers RIM Push 和 PAP Push 都属于这一类,因为它们与 Java 应用程序交互,尽管您可以使用其他方法来实现类似的结果(客户端轮询,或者我什至见过用于推送信息或唤醒的 SMS 或电子邮件)客户端,尽管 RIM 不推荐这样做)。

为了更深入地概述这些选项,我推荐我的朋友 John Wargo 写的一本名为 BlackBerry Development Fundamentals 的书。他很好地涵盖了各种选择。

This is actually quite a broad question - there are a lot of ways for a BlackBerry device to interact with a server, and the ideal way depends heavily on your specific application.

Generally:

MDS Studio: the Visual Studio 2008 method is no longer actively supported. It was a mostly visual forms designer, but not a great solution for a lot of reasons. Basically, don't use it.

Mobile Web: Depending on what you need to do, this might work. Everything server side. The thing to be aware of (and why this doesn't work for a lot of problems) is that prior to BlackBerry 6 the browser wasn't very capable, either in terms of HTML support or JavaScript support. You can, however, create shortcuts to mobile web sites which appear as icons on the BlackBerry homescreen. And you can use BlackBerry Web Signals: http://na.blackberry.com/eng/developers/browserdev/websignals.jsp to push changes to mobile web pages to devices

Widgets: Supported in BlackBerry OS 5 and higher. http://na.blackberry.com/eng/developers/browserdev/widgetsdk.jsp These are packaged much like 'native' BlackBerry apps, but written using HTML and JavaScript. Can be a good option for rapid development if you're ok with just targeting OS 5, and with the limitations of the BlackBerry Browser. Lots of JavaScript hooks to system functions, so they give you more functionality than pure mobile web, and you can distribute them through App World and the like.

Java Apps: Most development work, but you get potentially the best user experience, and the most functionality. Too broad a topic to cover adequately here, but there are a lot of questions related to these on SO and elsewhere. A good starting point is the BlackBerry developer zone: http://www.blackberry.com/developers RIM Push and PAP Push both fall into this category, as they interact with Java apps, though there are other methods that you can use to achieve similar results (client polling, or I've even seen SMS or email used to push info or wake up a client, though this isn't recommended by RIM).

For a deeper overview of the options I'd recommend a book by my friend John Wargo, called BlackBerry Development Fundamentals. He covers the various options pretty well.

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