Blackberry Java Development Environment 4.7.0 Огляд - Сторінка 7

Переглянути онлайн або завантажити pdf Огляд для Програмне забезпечення Blackberry Java Development Environment 4.7.0. Blackberry Java Development Environment 4.7.0 16 сторінок.

Feature and Technical Overview

New in this release

Screen and UI

Enhancements to the BlackBerry® Screen and UI APIs let you create a BlackBerry device application that works with the new UI
features of the BlackBerry® Storm smartphone. These features include a clickable touch screen, a touch screen keyboard, an
accelerometer for sensing the orientation and acceleration of the BlackBerry device, and the ability to allow or prevent the
BlackBerry device from changing the display direction of the screen.

Touch screen user input

The BlackBerry® UI APIs now let a BlackBerry device application receive events when a BlackBerry device user touches the screen
of the BlackBerry® Storm smartphone.
A BlackBerry device application can use the net.rim.device.api.ui.TouchEvent class and the
net.rim.device.api.ui.TouchGesture class to receive and respond when a BlackBerry device user performs an
action, like a tap, click, or swipe, on the device screen.
A touch event corresponds to an action a BlackBerry user performs on the touch screen such as a click. A touch gesture corresponds
to a combination of touch events that a BlackBerry user generates when they touch the touch screen such as a slide across the
screen.
A MIDlet can extend the net.rim.device.api.lcdui.BlackBerryCanvas class, the
net.rim.device.api.lcdui.game.BlackBerryGameCanvas class, the
net.rim.device.api.lcdui.BlackBerryCustomItem class, or the pointer methods in the
javax.microedition.lcdui.Canvas class to receive and respond when a BlackBerry device user performs an action
on the device screen.

Touch screen keyboard

The BlackBerry® UI APIs now let a BlackBerry device application interact with the touch screen keyboard.
A BlackBerry device application can use the net.rim.device.api.ui.Screen. getVirtualKeyboard()
method to access the touch screen keyboard for the current application screen.
A BlackBerry device application can use the setVisibility(int) method of the
net.rim.device.api.ui .VirtualKeyboard class to display or hide the touch screen keyboard.
New in this release
3
5