The File Select API allows MIDlets to use the device’s native file browser to list and select files. The listing of files can be filtered by URL path and media type, and single as well as multiple files can be selected.
The device’s native file browser provides its own UI and handles browsing, listing and selection of files. The File Select API pauses the thread, which is calling the API, till a file is selected or the operation is cancelled.
MIDlets can use the File Select API to:
Select files to attach to a MMS or e-mail message
Select files for uploading to a website (publishing, archiving etc.)
Select documents (PDF, DOC, TXT etc.) for viewing or editing
Select images for viewing or editing
Select audio or video clips for playback or editing
Use the File Select API, if you want to list and select files, but do not want to implement the file listing and selection functionality by yourself.
The File Select API can launch only one instance of the device’s native file browser at a time.
The File Select API is compatible with devices running on Nokia Asha software platform device or newer.
To find out which device models support the File Select API, see Nokia Developer device specifications.
For more information about the File Select API, see:
Using the File Select API for basic instructions on how to program your MIDlet to list and select files from the device file system
File Select API for detailed information about the supported classes and methods
Example: Selecting files for information on implementing FileSelectExample MIDlet.