BlackBerry 的 Web UI 框架
是否有适用于 Blackberry 的“BlackBerry UI”CSS/JS 框架 - 类似于 iPhone 的 IUI?
托管在 Google 代码 http://code.google.com/p/iui/ 上是一个很棒的开源库,为 Web 应用程序提供“标准”iPhone UI。
即 JavaScript 和 CSS 库提供:
BlackBerry 外观和感觉
数据绑定
弯角等
DOM 实用程序
处理浏览器版本之间的特性
Is there a "BlackBerry UI" CSS/JS framework available for Blackberry - Similar to IUI for the iPhone?
Hosted over on Google Code http://code.google.com/p/iui/ there is a great open source library for providing a "standard" iPhone UI for web applications.
i.e. a JavaScript and CSS library to provide:
BlackBerry look and feel
Data Binding
Curved corners etc.
DOM utilities
Handle idiosyncrasies between browser versions
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
考虑到 UI 在黑莓硬件上发生变化的事实,我想很难创建与 iOS 上的等效内容。
我向您推荐您已经看过的这个论坛主题:是否有适用于 BB 的“BlackBerry UI”CSS/JS 框架 - 类似于 IUI iPhone
就兼容性和可用性而言,我想稍微改变 jQuery Mobile 的 主题将是您的最佳选择如果您想找到一个开源的(例如与 Sencha 不同的)。
Considering the fact UI changes across blackberry hardware, I guess it's difficult to create the equivalent of what is found on iOS.
I'm referring you to this forum thread you already saw for sure: Is there a "BlackBerry UI" CSS/JS framework for BB's - Similar to IUI for the iPhone
In term of compatibility and usability, I guess slightly altering a jQuery Mobile's theme would be your best option if you want to find one that is open source (unlike Sencha for example).
BB OS 6 包含现代 Webkit 浏览器,因此可以更轻松地使用 Sencha 等标准工具包。
BB OS 6 contains a modern Webkit browser so it's easier to use standard toolkits such as Sencha.
除了使用 Jquery Mobile 或 Sencha 之外,您还可以尝试一下这个(似乎是官方的)库 https://github .com/blackberry/bbUI.js
Besides using Jquery Mobile or Sencha, you could give a try to this (official it seems) library https://github.com/blackberry/bbUI.js
我建议不要在 BlackBerry 应用程序上使用 jQuery Mobile。
它很慢(特别是在较旧/功能较弱的设备上),臃肿(很多你可能永远不需要的东西),用户界面与黑莓指南不符,并且不能很好地与基于焦点的导航(这很重要,因为某些当前设备仍然没有触摸屏,并且某些用户更喜欢使用触控板进行导航)。
bbUI.js (https://github.com/tneil/bbUI.js) 如前所述by Max 是一个官方库,最初由 RIM 的某人开发,虽然它并非没有缺陷,尽管存在局限性,但在从事大型 WebWorks 项目数月之后,我发现它仍然是快速启动和运行的最佳选择。
I would recommend against using jQuery Mobile on a BlackBerry app.
It's slow (especially on older/less powerful devices), bloated (lots of stuff you probably won't ever need), the UI doesn't align with BlackBerry guidelines whatsoever and it doesn't play well with focus-based navigation (which is important as some current devices still don't have a touch screen and some users prefer to navigate with the trackpad).
bbUI.js (https://github.com/tneil/bbUI.js) as mentioned by Max is an official library originally developed by someone at RIM and, while it's not without its flaws and limitations, after months of working on a large WebWorks project it is still the best choice I've found to get up and running quickly.
唉,OS 6 浏览器在 javascript 加载的提示下就崩溃了(最常见的情况),稍微少一点是因为打开了太多选项卡(“太多”,在较低规格的型号上,数量介于 2 之间,例如 9300 到 4或 9780 上为 5)。这是我的经历。也许我的设置是错误的 - 我倾向于喜欢较小的文本,Arial并将编码设置为UTF-8。
然而,我从未在同一部手机上遇到过 Opera 崩溃的情况 - 尽管在后台至少打开了 5 到 10 个选项卡。
Alas, the OS 6 browser crashes at the mere hint of javascript load (most usually the case), slightly less from having too many tabs open (by "too many", the amouny ranges between two on the lower spec models like 9300 to 4 or 5 on the 9780). This is from my experiences. Perhaps my settings are wrong - I tend to like smaller text, Arial and set the encoding to UTF-8.
However, I have never had Opera crash on the same phones - despite having at least 5 to 10 tabs open and in the background.