How to Store Large Amounts of Data on a Mobile Device for Offline Use

Description

Large amounts of data can be stored on a device's file system.

Discussion

The List control is used to build offline applications. Data in a List control is stored in Local Storage, allowing you to access the data when the mobile device is disconnected. Local storage, however, can only store a limited amount of data - typically 5MB. If you need access to large amounts of read-only data, such as a price list or product catalog, Local Storage may not be large enough to hold both the read-only data and the editable records in a List control.

Instead of using Local Storage, you can leverage the device's file system to store read-only data. In the video below, we explain how to store large amounts of data in PhoneGap applications using the device's file system.

Click here to download the component shown in the videos above.