Storing Data; Data Management; Support For Apis To Store Data To Persistent Memory; Access To Memory - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE Manual

Version: 4.7.0
Hide thumbs Also See for JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE:
Table of Contents

Advertisement

Development Guide

Storing data

Data management

You can store data to persistent memory on the BlackBerry® device. The BlackBerry Persistent Store APIs and the MIDP RMS
APIs (support for JSR 37 and JSR 118) are available on all Java® based BlackBerry devices. A BlackBerry device that runs BlackBerry®
Device Software version 4.2 or later provides a traditional file system and support for saving content directly to the file system
via JSR 75 APIs. With either the BlackBerry Persistent Store APIs or the MIDP RMS APIs, you can store data persistently to flash
memory. The data persists even if you remove the battery from the BlackBerry device.

Support for APIs to store data to persistent memory

Data management

The BlackBerry® device provides APIs for storing data to persistent memory on the BlackBerry device. The BlackBerry Persistent
Store APIs and the MIDP RMS APIs (support for JSR 37 and JSR 118) are available on all Java® based BlackBerry devices. A
BlackBerry device that runs BlackBerry® Device Software version 4.2 or later provides a traditional file system and support for
saving content directly to the file system using JSR 75 APIs. With either the BlackBerry Persistent Store APIs or the MIDP RMS
APIs, you can store data persistently to flash memory. The data persists even if you remove the battery from the BlackBerry device.

Access to memory

The BlackBerry® Java® environment is designed to inhibit applications from causing problems accidentally or maliciously in other
applications or on the BlackBerry device. BlackBerry device applications can write only to the BlackBerry device memory that the
BlackBerry Java® Virtual Machine uses; they cannot access the virtual memory or the persistent storage of other applications
(unless they are specifically granted access to do so). Custom applications can only access persistent storage or user data, or
communicate with other applications, through specific APIs. Research In Motion must digitally sign applications that use certain
BlackBerry APIs, to provide an audit trail of applications that use sensitive APIs.
Storing data
2
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment

Table of Contents