Working With Images From The Camera; Creating An Image With The Camera; Start The Camera From A Blackberry Application; Receive Notification Of File System Events - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - MULTIMEDIA - DEVELOPMENT GUIDE Manual

Multimedia development guide
Hide thumbs Also See for JAVA DEVELOPMENT ENVIRONMENT - - MULTIMEDIA - DEVELOPMENT GUIDE:
Table of Contents

Advertisement

Working with images from the camera

Creating an image with the camera

Receive notification of file system events

Retrieving an image from the file system
Moving an image in the file system
Deleting an image from the file system
Creating an image with the camera

Start the camera from a BlackBerry Application

You can create an application that uses the
a picture.
>
Invoke
Invoke.invokeApplication(Invoke.APP_TYPE_CAMERA, new CameraArguments())
Invoke.invokeApplication(Invoke.APP_TYPE_CAMERA, new CameraArguments());
Receive notification of file system events
You can create an application that uses the
interface, and the
FileSystemJournalEntry
system for a BlackBerry device. The
systems. An application can query this journal to obtain information about file system events.

Detect when an image is added or removed in the file system

1.
Create a class that implements the
lass FileExplorerDemoJournalListener implements FileSystemJournalListener {
c
2. Create an instance variable that represents the last update sequence number.
private long _lastUSN = 0;
3. To receive notification when a new file system event occurs, implement
FileSystemJournalListener.fileJournalChanged()
/**
* Notified when FileSystem event occurs.
*/
public void fileJournalChanged() {
Invoke
class to start the camera so a BlackBerry device user can take
FileSystemJournal
class to detect when an image is added to or removed from a file
FileSystemJournal
class acts as a journal that tracks changes to file
FileSystemJournalListener
class, the
FileSystemJournalListener
interface.
.
4
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment

Table of Contents