The FileConnection API (FC API) allows MIDlets to access files and directories on devices and removable media (such as memory cards) and to perform file-related operations (such as creating and deleting files or directories).
The FC API assumes the existence of a file system that the MIDlet can locate. This can be the device's local file system or the file system of a memory card or other removable media connected to the device. The FC API does not replace the Record Management System (RMS) but rather complements it by enabling MIDlets to interact with native applications. For example, a MIDlet can use the FC API to access images captured and stored by a native application using the device's built-in camera.
The FC API is supported by the Series 40 and Nokia Asha software platform devices. For detailed information about platform support across different releases, see the implementation notes.
To find out which device models support the FC API, see Nokia Developer device specifications.
For more information about the FC API, see:
Using FileConnection API for basic instructions on how to program your MIDlet to access the device file system
Example: Accessing files on the device for instructions on how to create a MIDlet that uses a simple file browser for navigating the device file system and selecting images to display on the device screen
FC API specification for detailed information about the supported classes and methods
Implementation notes for information about how the FC API specification is implemented on the Series 40 and Nokia Asha software platform devices