Using BlackBerry Simulators

Hello,

On the BlackBerry homepage, you can download various simulators for each model. There are many simulators ...

My question is: how do you develop BlackBerry applications:

  • Do you use simulators - can you pass them on. If the application works on the simulator, does it work 1: 1 on the phone?
  • Are you developing a different user interface for each model because the screen size is different?

Thank you for your replay?

+2
source share
3 answers
  • In most cases, the application behaves the same. However, there are features such as networking, drawing performance, io performance, application permissions that need to be tested on a real device.

  • You can use a custom layout (only redefine the sublayout on the screen or manager) and commit with one version of the application for all models. But if there is a peel of control, background, etc., it is better to store resources in separate folders depending on the size of the model’s screen and use them when creating an automaton with ant ( bb ant tools )

see also
What is the best practice for developing a BlackBerry to reach the widest range of smartphones? Blackberry User Interface Design - Customizable User Interface

+7
source

There are a number of important differences between simulators and real devices, some of which are:

  • Fulfillment of code signing restrictions on some APIs (can be enabled on the simulator, but disabled by default)
  • The nuances of opening network connections (which is more difficult if you want it to always work on a real device)
  • Storage I / O performance (i.e. loading / saving data from an SD card)
  • Math performance with floating point (the real device does not have FPU, so its slower)
  • Overall performance (the simulator is usually faster, for the most part)

So, for 99.9% of your development, the simulator is fine. But you should still test on a real device. Also, please make scalable user interfaces that dynamically sort themselves by screen size. Every time I see a user interface depending on the size of the device, it makes me want a weird developer. (because they either have zillion builds of their application, it inflates it all the way with tons of fixed-size graphics)

+2
source

1.simulator are for this purpose only. 2.No we do not need to create different user interfaces for different screen sizes

use it on your main page

<meta name="viewport" content="initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> 
0
source

Source: https://habr.com/ru/post/1310219/


All Articles