Run-Time Storage Classes
com.softwareag.mobile.runtime.storage.RecordStoreHandler
Use the Mobile Designer RecordStoreHandler class to control saving data in the application's RecordStore. The RecordStoreHandler class also determines whether saving the data is performed immediately or is cached and saved on termination. Use the cache and save option with slow devices.
For access to the RecordStore, call the derivatives of setRecordStoreData and getRecordStoreData.
com.softwareag.mobile.runtime.storage.ResourceDataTypes
The ResourceDataTypes class contains a set of helper methods to retrieve primitive data types from your resources with the run-time ResourceHandler class. Two variants are present that enable including the float and double methods with Connected Limited Device Configuration (CLDC) 1.1 devices.
Mobile Designer sets the
ResourceDataTypes value for each device. You can override the value
Mobile Designer sets by setting the
mobiledesigner.runtime.core.class.datatypes project property to
cldc11.
com.softwareag.mobile.runtime.storage.ResourceHandler
Use the ResourceHandler class to manage the loading and caching of resources, resource packs, and resource blocks.
Depending on parameter settings, devices can:
Cache the entire resource packs
Cache individual blocks
Load only the resources that are individually stored in the application bundle
You need to use clean-up methods to ensure that the mobile application handles memory management in the most appropriate way for all devices.