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. Several Strings are only supported in either S60 or Series 40. Refer to the individual tables for each implementation.
String |
Description |
---|---|
|
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 " |
|
Localized name for the private work 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, " |
|
Private work directory of MIDlet suite. For example, " |
S60 3rd Ed. FP 2
|
Localized names corresponding to roots returned by the |
Example for S60:
String url = System.getProperty("fileconn.dir.photos") + "myImage.jpg";
The Content of the URL is file:///c:/data/Images/myImage.jpg
String |
Description |
---|---|
|
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 " |
|
Localized name for the themes directory, for example " |
|
The URL of the default storage directory for photos captured with the
integrated camera and other images. " |
|
The URL of the default storage directory for video clips captured with
the integrated camera or downloaded and saved. " |
|
The URL of the default storage directory for clip art graphics (caller
group icons, background pictures, and other similar items). " |
|
The URL of the default storage directory for ring tones and other related
audio files. " |
|
The URL of the default storage directory for music files (MP3, AAC,
and others). " |
|
The URL of the default storage directory for voice recordings made with
the device. " |
|
The URL of the default storage directory for themes. " |
|
Root directory of memory card. " |
Example for Series 40:
String url =
System.getProperty("fileconn.dir.photos") + "myImage.jpg";
The Content of the URL
is file:///C:/predefgallery/predefphotos/myimage.jpg