background image

New in this release

3

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.

Feature and Technical Overview

New in this release

5

Summary of Contents for JAVA DEVELOPMENT ENVIRONMENT - - FEATURE AND TECHNICAL

Page 1: ...BlackBerry Java Development Environment Version 4 7 0 Feature and Technical Overview...

Page 2: ...SWD 552026 1212113555 001...

Page 3: ...ut 5 Touch screen keyboard 5 Accelerometer 6 Screen display direction 6 Home screen background image 6 Multimedia 7 Image and video handling 7 Video recorder integration 7 Digital rights management 7...

Page 4: ...ble UI and interaction with a trackwheel or touch screen You can also create an application that interacts with the components of the BlackBerry solution including the BlackBerry Enterprise Server pus...

Page 5: ...eatures of a BlackBerry device such as GPS and location based services video playback and the trackball multilanguage support You can create a BlackBerry device application that can automatically disp...

Page 6: ...stomers are connected to communication and corporate data by actively sending them data security You can create a BlackBerry device application that uses security features such as AES or Triple DES en...

Page 7: ...screen AtoucheventcorrespondstoanactionaBlackBerryuserperformsonthetouchscreensuchasaclick Atouchgesturecorresponds to a combination of touch events that a BlackBerry user generates when they touch t...

Page 8: ...est landscape or portrait The BlackBerry UI APIs now let a BlackBerry device application retrieve the display direction of the screen and prevent a BlackBerry device from changing the display directio...

Page 9: ...items to send an image file or video file to the BlackBerry device application Video recorder integration The BlackBerry APIs now let a BlackBerry device application start the video recorder applicat...

Page 10: ...ment visit www blackberry com developers For documentation for developers visit www na blackberry com eng support docs For more information about APIs see the API Reference for the BlackBerry Java Dev...

Page 11: ...ater available minimum 500 MB of disk space available operating system Any of the following operating systems Microsoft Windows Vista Microsoft Windows XP Professional Java development kit Java SE Dev...

Page 12: ...evice Configuration HTTP Hypertext Transfer Protocol HTTPS Hypertext Transfer Protocol over Secure Sockets Layer MIDP Mobile Information Device Profile Triple DES Triple Data Encryption Standard XML E...

Page 13: ...Provide feedback 7 To provide feedback on this deliverable visit www blackberry com docsfeedback Feature and Technical Overview Provide feedback 11...

Page 14: ...uch changes updates enhancements or other additions to this documentation to you in a timely manner or at all This documentation might contain references to third party sources of information hardware...

Page 15: ...IRTIME SERVICE PROVIDERS AND THEIR RESPECTIVE DIRECTORS EMPLOYEES AND INDEPENDENT CONTRACTORS IN ADDITION TO THE LIMITATIONS AND EXCLUSIONS SET OUT ABOVE IN NO EVENT SHALL ANY DIRECTOR EMPLOYEE AGENT...

Page 16: ...RSEDEANYEXPRESSWRITTENAGREEMENTSORWARRANTIES PROVIDED BY RIM FOR PORTIONS OF ANY RIM PRODUCT OR SERVICE OTHER THAN THIS DOCUMENTATION Research In Motion Limited 295 Phillip Street Waterloo ON N2L 3W8...

Reviews: