
Item Description
• Statement features values binding after it has been prepared. You can use the
execute() method for statements such as INSERT, DELETE, UPDATE. You can use
the getCursor() method for query statement such as SELECT.
• Cursor provides iterative operations on the row set.
• Row provides data retrieval operations.
• BufferedCursor provides a means to cache data and access rows in random or
bidirectional manners.
• CursorEnumeration provides a simplified method of cursor navigation.
For more information on the SQLite API, see the BlackBerry Java Application SQLite
Development Guide.
Multimedia
Item Description
Bitmap Scale and Compare
API
You can scale and compare bitmaps using the Bitmap Scale and Compare API. Methods in the
net.rim.device.api.system.Bitmap class were updated and new APIs were added.
The updated methods provide functionality that include scaling of bitmaps, getting scaled
bitmap information, setting available filter types, and comparing bitmaps.
Enhanced Media Key Events BlackBerry device applications can now respond to key presses of media keys even when the
BlackBerry device application is in the background. This allows a BlackBerry device user to
control media playback using certain keys even while another BlackBerry device application
is in the foreground. This is done by implementing the new interface,
net.rim.device.api.media.MediaActionHandler, which defines a single
method boolean mediaAction(int action, int source, Object context). The
implementation is registered with the new method,
Application.addMediaActionHandler(MediaActionHandler handler).
After registration, the MediaActionHandler's method will be notified when certain keys
are pressed that correspond to media "actions", such as "volume up", "volume down", "next
track", "previous track", and "play/pause toggle". These notifications continue even when the
BlackBerry device application is in the background. For handling media key presses while the
BlackBerry device application is in the foreground, the new abstract class
net.rim.device.api.media.MediaKeyListener can be used.
RIM Confidential and Proprietary Information - Beta Customers Only. Content and software are subject to change.
9
Comentários a estes Manuais