BlackBerry 使用模拟器
您好,
在黑莓主页上您可以为每种不同的型号下载不同的模拟器。那里有很多模拟器...
我的问题是,您如何开发 BlackBerry 应用程序:
- 您使用模拟器吗?您可以依赖它们吗?如果应用程序在模拟器上运行,那么它在手机上是否可以一比一运行?
- 由于屏幕尺寸不同,您是否会为每种型号开发不同的 UI?
非常感谢您的重播?
Hallo,
on the BlackBerry homepage you can download different simulators for every different model. There are a lot fo simulators there...
My question is, how do you develop BlackBerry applications:
- do you use the simulators - can you relay on them. If an application works on the simulator, does it works 1:1 on the phone?
- Do you develop for every model a different UI, as the screensize is different?
Thanks you very much for your replay?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在大多数情况下,应用程序的行为方式相同。然而,还有诸如网络、绘图性能、io性能、应用程序权限等功能,这些功能应该在真实设备上进行测试。
您可以使用自定义布局(只需覆盖屏幕或管理器上的子布局)并为所有型号提交一个应用程序版本。但如果有皮肤控件、背景等,最好根据模型的屏幕大小将资源存储在单独的文件夹中,并在使用 ant 自动构建时使用它们(bb ant 工具)
另请参阅
最佳实践是什么黑莓的开发是为了覆盖最广泛的智能手机?
Blackberry 用户界面设计 - 可自定义 UI?
In most cases application behaves same way. However, there are functionality like networking, drawing performance, io performance, app permissions, which should be tested on the real device.
You can use custom layout (just override sublayout on screen or manager) and commit with one app version for all models. But if there are skinned controls, background etc its better to store resources in separate folders according to screen size of model, and use them during automate build with ant (bb ant tools)
See also
What is the best practise in blackberry development for reaching the widest range of smart phones?
Blackberry User Interface Design - Customizable UI?
模拟器和真实设备之间存在许多重要差异,其中一些是:
因此对于 99.9% 的开发来说,模拟器就可以了。但您仍然应该在真实设备上进行测试。另外,请制作可根据屏幕尺寸动态调整自身大小的可扩展 UI。每当我看到特定于设备尺寸的 UI 时,我都会想奇怪开发人员。 (因为他们的应用程序要么有无数的构建,所以它用大量的固定大小的图形让它一直膨胀)
There are a number of important differences between the simulators and the real devices, some of them are:
So for 99.9% of your development, the simulator is fine. But you should still test on a real device. Also, please make scalable UIs that dynamically size themselves based on the screen size. Every time I see a device-size-specific UI, it makes me want to strange the developer. (because they either have a zillion builds of their app, it bloat it all the way out with tons of fixed-size graphics)
1.模拟器仅用于此目的。
2.不,我们不需要为不同的屏幕尺寸创建不同的 UI,
请在您的主页上使用它
1.simulator are meant for this purpose only..
2.No we dnt need to create different UI for different screen size
use this on your master page