1

我是黑莓开发新手(仅限黑莓 7.1 - 没有黑莓 10)。我在设计上有问题。我一直无法弄清楚像 Android(布局编辑器)和 iPhone(XIB 编辑器)这样的布局设计。我找到了所有用 Java代码设计的教程。好吧,编写所有代码是一个乏味的过程。有没有类似设计屏幕的布局编辑器?

我也遇到了lwuitCodename One。它们是跨平台 Java 框架并具有布局编辑器。如果布局编辑器可用,我更愿意使用 BlackBerry 原生开发。此外,您对 lwuit 和 Codename One 的看法也会有所帮助。谢谢

4

1 回答 1

2

The Blackberry native API is pretty difficult and you have to handcode to CLDC (J2ME) which means limiting yourself to a subset of Java 1.3. The native widgets in RIM devices don't allow you to customize basic things like colors etc without changing the whole phone, this might have changed with very recent versions (haven't kept up) but regardless their "native" experience isn't a panacea. Don't get me started on their IDE/integration's and simulator environments which are practically unusable.

LWUIT is effectively dead especially for the Blackberry. Your only real option is Codename One is maintained, allows Java 5 syntax and has a GUI builder. Its native in the sense that Java is generated and compiled properly but the UI is drawn by Codename One so the code is very portable.

于 2013-12-08T05:03:45.773 回答