| [ directory ] |
|
2.4 Implications of the MIDP EnvironmentUsability studies on consumer products have repeatedly shown that predictability (having the product "do the right thing" on the device) is far more important than consistency or efficiency. Forcing consistency across radically different products often makes the products unusable. 2.4.1 Device-Specific MIDP ImplementationsWith many programming languages, making applications predictable across multiple devices requires porting the application from device to device, with each version of the application using different user-interface code. This would be especially difficult for mobile information devices because of the many types of device displays and input-output solutions. With MIDP, applications do not control the details of focus, traversal, scrolling, and so on. Those device-specific details are handled by the MIDP implementation. As a result, well-designed MIDP applications can run on multiple devices without code changes, which saves time. Giving MIDP implementors the responsibility of creating and laying out MIDP user-interface components for their devices also enables applications to look and act like device-native applications on multiple devices without code changes. When a MIDP application looks and acts like a device-native application, it is predictable. Predictable applications are easier to learn and use. MIDP Implementors
Consider, for example, an address book on a mobile phone with a 100-by-128, four-level grayscale display and an ITU-T phone keypad. The application could have a vertical layout with two soft buttons on the bottom of the screen. Now, move the address book to a device that has a stylus, touch screen, and 240-by-100 pixel, 256-color display. If the application were responsible for the details of the UI, the vertical layout would be awkward and inappropriate. Instead, assuming that the MIDlet has both color and grayscale graphics, it could look and behave as if it were created for the second device, without code changes. Figure 2.1 shows a mock-up of the application on the two devices. Figure 2.1. Alternate, Device-Dependant Layouts for an Application
In addition to making the screens look like those of native applications, MIDP implementors can also make MIDP user-interface components behave in ways that are similar to native applications. MIDP Implementors
2.4.2 Device-Independent Application DesignApplication Developers
2.4.3 Network-Sensitive Application DesignApplication Developers
|
| [ directory ] |
|