Blackberry Widget 与 Java SDK

发布于 2024-08-21 01:42:02 字数 441 浏览 6 评论 0原文

我是这个论坛的新手,我正在浏览 Blackberry Widget 和 Java SDK 的文档。我有以下疑问需要澄清:-

1)Java SDK 和 Widget SDK 的优缺点?

2) 何时使用 Java SDK 和 Widget SDK?

3)Java和Widget应用程序都需要最新的blackberry OS 5.0吗?或者它们是否也兼容较低版本?

4)用Java SDK开发的东西都可以用widget SDK完成吗?同样,反之亦然?

5) 是否可以为 Widget 应用程序开发创建 .java 类?

6) 是否所有黑莓机型都支持Java和Widget?

7) blackberry Java 和 Widget 支持哪些数据库?

请对此进行一些说明,因为我无法找到有关这些的合适文档。

谢谢, 里图

I am a newbie to this forum,I was going through the documents of both Blackberry Widget and Java SDK. I have the following doubts to get clarified:-

1) Advantages and disadvantages of Java SDK and Widget SDK?

2) When to go for Java SDK and Widget SDK?

3) Both Java and Widget applications require the latest blackberry OS 5.0? OR whether they are compatible with the lower versions as well?

4) Whatever developed with Java SDK can be done with widget SDK? similarly the vice-versa?

5) Is it possible to create the .java classes for Widget application development?

6) Whether all the blackberry models supports both Java and Widget ?

7) What are the Databases the blackberry Java and Widget supports?

Please do shed some light into this as i was unable to find a suitable documentation on these.

Thanks,
Rithu

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

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

发布评论

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

评论(3

殤城〤 2024-08-28 01:42:02

我对此仍然有一些疑问,但也许我可以从我发现的内容中给出一​​些见解,但如果我错了,请纠正我。
1& 2. Java SDK 提供了对 RIM API 的更多访问,而 Widget SDK 只提供了其中的一部分(但您可以开发 Javascript 扩展来扩展 Widget SDK 提供的有限功能)。如果您使用 widget SDK 进行开发,您只需要一些关于 Java 的知识,因为您将主要使用 html、css、javascript 来构建它(如果您有 Web 编程经验但没有 java 经验,这将非常有用)。 Java SDK 提供了灵活性,但开发起来并不容易,与使用 widget SDK 相比,开发应用程序很容易,但对于构​​建灵活的应用程序(可能很大程度上依赖于 RIM API),widget SDK 可能不是正确的选择。< br>
3.对于Java SDK,您必须关注低版本支持的不同功能(如果您考虑开发跨版本的黑莓应用程序)。但widget SDK是一个新的,支持它的最低操作系统版本是5.0版本。较低版本通常使用浏览器应用程序/Web应用程序(依赖黑莓浏览器引擎,从4.6版本开始)。
4& 5.这个我还不知道,还在研究这部分。
6.我想这取决于黑莓设备的操作系统/软件版本。
7. SQLite 从 5.0 版本开始受支持。

我也在学习这方面的知识,如有错误请指正。我希望这会对您有所帮助。其实你可以在黑莓开发者网站上找到答案,也许你可以在那里查看更多详细信息。

I also still have some questions about this, but maybe I can give some insight from what I found, but please correct me if I'm wrong.
1 & 2. Java SDK gives more access to RIM API, while Widget SDK only provide a part of it (but you can develop your Javascript extension to extend the limited functionality provided by widget SDK). If you develop using widget SDK, you only need some knowledge about Java, since you will build it using html, css, javascript mainly (this will be very useful if you are experienced with web programming but not with java). Java SDK provides flexibility, but it's not easy to develop, compared when using widget SDK it's easy to develop an application, but for building a flexible application (maybe which relies a lot on RIM API) widget SDK might not be the right choice.
3. For Java SDK, you must concern about the different features that were supported in lower version (if you considering to develop a cross version of blackberry application). But widget SDK is a new one, the minimum OS version that support this is version 5.0. For the lower version usually use a browser application/web application (which rely on blackberry browser engine, starts from version 4.6).
4 & 5. I don't know about this yet, still look into this part.
6. I guess it depends on the operating system/software version of the blackberry device.
7. SQLite is supported since version 5.0.

I'm still learning about this too, please give me correction if I'm wrong. I hope this will help you. Actually you can find the answers in blackberry developer site, maybe you can look more detail information there.

飘落散花 2024-08-28 01:42:02

1)Java SDK和Widget SDK的优缺点?

Widget SDK 优点:相当容易创建引人注目的 UI 和用户体验。 Javascript 支持非常合理,CSS 和 HTML 也是如此。将会非常熟悉。

Java SDK 优点:没什么,从 UI 角度来看它非常准系统。如果您正在执行数据或网络密集型任务,这是最好的选择。也就是说,使用 Widget SDK 中的 Javascript 扩展,您可以轻松地从 Javascript 中访问自定义 Java 例程,因此您无需在 Widget SDK 中放弃这一点。

2) 何时使用 Java SDK 和 Widget SDK?

Blackberry 上的 Java UI 库非常有限。您可能必须想出自己的 UI 框架,因为开箱即用的东西很糟糕。这样做需要投入大量时间,但可以让您完全控制。另一方面,Widget SDK 提供传统的 CSS 和 HTML 支持,并对 Javascript 提供一些不错的支持。这意味着创建 UI 将变得更加容易。我的建议是使用Widget SDK,除非你需要开发需要高帧率的游戏。如果您正在寻找数据驱动的实用程序或生活方式应用程序,那么 Widget SDK 就是您的最佳选择。

3)Java和Widget应用程序都需要最新的blackberry OS 5.0吗?或者它们是否也兼容较低版本?

旧型号支持 Java;从我记事起,情况就一直如此;但Widget SDK仅适用于OS 5及以上版本。 OS 5 设备的数量是一个不断变化的目标。许多 4.6 设备正在升级,但尚未运行版本 5。

4) 使用 Java SDK 开发的任何内容都可以使用 widget SDK 完成吗?同样,反之亦然?

不,有些类型的应用程序根本无法通过小部件完成。例如需要高帧速率的图形密集型游戏。

5) 是否可以为 Widget 应用程序开发创建 .java 类?

当然,请看一下“Javascript 扩展”。它们提供了一种从运行 Widget 的 Javascript 中调用 Java 代码的方法。

6) 是否所有黑莓机型都支持Java和Widget?

不,只有 OS 5 及更高版本支持 Widget。

7) blackberry Java 和 Widget 支持哪些数据库?

如果您谈论的是本地数据库,那么有对本地持久性的支持,但如果您正在寻找 SQL 支持,那么您将需要寻找第三方,其中有一些。

1) Advantages and disadvantages of Java SDK and Widget SDK?

Widget SDK pros: Reasonably easy to create compelling UIs and user experiences. The Javascript support is pretty reasonable as is CSS and HTML. It will be very familiar.

Java SDK pros: No much, its pretty barebones from a UI perspective. It is best if you are doing data or network intensive tasks. That said, using Javascript extensions in the Widget SDK you can easily access custom Java routines from within Javascript so you don't need to give this up in the Widget SDK.

2) When to go for Java SDK and Widget SDK?

The UI libraries for Java on Blackberry are VERY limited. You will likely have to come up with your own UI framework because what come out of the box is terrible. Doing this is a very large investment of time but will give you total control. The Widget SDK, on the other hand, offers traditional CSS and HTML support with some decent support for Javascript. This means that creating UI's will be MUCH easier. My suggestion is to use the Widget SDK unless you need to develop a game that requires a high-framerate. If you are looking at a data-driven utility or lifestyle application, then the Widget SDK is the way to go.

3) Both Java and Widget applications require the latest blackberry OS 5.0? OR whether they are compatible with the lower versions as well?

Java is supported on older models; this has been the case for as long as I can recall; but the Widget SDK is only available on OS 5 and above. The number of OS 5 devices is a moving target. Many 4.6 devices are on the upgrade path, but as of yet are not running version 5.

4) Whatever developed with Java SDK can be done with widget SDK? similarly the vice-versa?

No, there are some types of applications that simply can't be done via Widgets. Examples are graphics intensive games that require a high frame-rate.

5) Is it possible to create the .java classes for Widget application development?

Sure, take a look at "Javascript Extensions". These provide a way to call upon Java code from within Javascript running the Widget.

6) Whether all the blackberry models supports both Java and Widget ?

No, only OS 5 and up support Widgets.

7) What are the Databases the blackberry Java and Widget supports?

If you are talking about local database then there is support for local persistence but if you are looking for SQL support then you will need to look to 3rd parties of which there are a few.

何以心动 2024-08-28 01:42:02

Widget SDK 的缺点

  • 页面之间的导航速度较慢
  • 存在性能问题

与 Widget SDK 相比,Java SDK 应用程序要快得多

Drawback of Widget SDK

  • Navigation between the pages is slower
  • Performances issues exist

Java SDK applicatiosn are much faster as compared to Widget SDK

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