Multimedia
Enhancements to the BlackBerry® APIs let you create a BlackBerry device application that can receive image files and video files
from the camera application, video recorder application, and the file explorer. You can also create a BlackBerry device application
that can launch the video recorder application and record video.
Image and video handling
The BlackBerry® APIs now add menu items to the camera application and video recorder that let a BlackBerry device user send
media files to a BlackBerry device application.
A BlackBerry device application uses the
javax.microedition.content.ContentHandler
API to register as
a content handler. After registration, when a BlackBerry device user takes a picture or records a video, menu items appear in the
camera application, the video recorder, and the file explorer. A BlackBerry device user can use the menu 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 application.
A BlackBerry device application can use the
net.rim.blackberry.api.invoke.Invoke.APP_
TYPE_CAMERA
field and the
net.rim.blackberry.api.invoke.
CameraArguments.
ARG_VIDEO_RECORDER
field as arguments to the
net.rim.blackberry.api.invoke.
Invoke.invokeApplication
method to invoke the video recorder in the camera application and record video.
Digital rights management
The BlackBerry® APIs now let a BlackBerry device application install and use digital rights management licenses for media on a
BlackBerry device.
A BlackBerry device application can use the
net.rim.device.api.drm.DRMManager
class to let a BlackBerry device
user play media protected by digital rights management technology on a BlackBerry device.
Each BlackBerry device has one
net.rim.device.api.drm.DRMManager
and applies the least restrictive license
to media.
Feature and Technical Overview
Multimedia
7