The table below contains the File API system properties that return the localized names of common directories and the URLs to the most common directories.
String |
Description |
---|---|
|
Returns the version of FileConnection API supported by the device. |
|
Localized name for the photo directory, for example " |
|
Localized name for the video directory, for example " |
|
Localized name for the graphic directory, for example " |
|
Localized name for the sounds directory, for example " |
|
Localized name for the music directory, for example " |
|
Localized name for the recordings directory, for example " |
|
Localized UI name for the memory card of directory, for example " |
|
The URL of the default storage directory for photos captured with the
integrated camera and other images. For example, " |
|
The URL of the default storage directory for video clips captured with
the integrated camera or downloaded and saved. For example, " |
|
The URL of the default storage directory for clip art graphics (caller
group icons, background pictures, and other similar items). For example, " |
|
The URL of the default storage directory for ring tones and other related
audio files. For example, " |
|
The URL of the default storage directory for music files (MP3, AAC,
and others). For example, " |
|
The URL of the default storage directory for voice recordings made with
the device. For example, " |
|
Root directory of memory card. For example, " |
|
File separator character. In Nokia devices it is “ |
(Only in S60) |
Localized name for the private work directory, for example " |
(Only in S60) |
Private work directory of MIDlet suite. For example, " |
(From S60 3rd Edition FP 2 onwards) |
Localized names corresponding to roots returned by the |
(Only in Series 40) |
Localized name for the themes directory, for example " |
(Only in Series 40) |
The URL of the default storage directory for themes. " |
Example:
String url = System.getProperty("fileconn.dir.photos") + "myImage.jpg";
The content of the URL is file:///c:/data/Images/myImage.jpg