Verzeichnis der Fotos in J2ME
Die Tabelle zeigt die System-Properties, die als Returnwert die URLs zu den wichtigsten Verzeichnissen eines Mobiltelefons liefern. Da diese von Handy zu Handy unterschiedlich sind, sind diese Abfragen sehr hilfreich.
| String | Beschreibung |
|---|---|
microedition.io.file.FileConnection.version |
Liefert die Version des FileConnection Apis, das vom Gerät unterstützt wird. |
fileconn.dir.photos.name |
Der Name des ‘Image’-Verzeichnisses |
fileconn.dir.videos.name |
Der Name des ‘Video-Clips’-Verzeichnisses |
fileconn.dir.graphics.name |
Der Name des ‘Graphics’-Verzeichnisses |
fileconn.dir.tones.name |
Der Name des ‘Sound-Clips’-Verzeichnisses |
fileconn.dir.music.name |
Der Name des ‘Music-Clips’-Verzeichnisses |
fileconn.dir.recordings.name |
Der Name des ‘Recordings’-Verzeichnisses |
fileconn.dir.memorycard.name |
Der UI-Name des ‘Memory-Card’-Verzeichnisses |
fileconn.dir.photos |
The URL of the default storage directory for photos captured with the integrated camera and other images. For example, “file:///c:/My files/Images/“. |
fileconn.dir.videos |
The URL of the default storage directory for video clips captured with the integrated camera or downloaded and saved. For example, “file:///c:/My files/Video clips/“. |
fileconn.dir.graphics |
The URL of the default storage directory for clip art graphics (caller group icons, background pictures, and other similar items). For example, “file:///c:/My files/Graphic clips/“. |
fileconn.dir.tones |
The URL of the default storage directory for ring tones and other related audio files. For example, “file:///c:/My files/Sound clips/“. |
fileconn.dir.music |
The URL of the default storage directory for music files (MP3, AAC, and others). For example, “file:///c:/My files/Music clips/“. |
fileconn.dir.recordings |
The URL of the default storage directory for voice recordings made with the device. For example, “file:///c:/My files/Recorded clips/“. |
fileconn.dir.memorycard |
Root directory of memory card. For example, “file:///e:/“. |
file.separator |
File separator character. In Nokia devices it is “/”. |
fileconn.dir.private.name
(Only in S60) |
Localized name for the private work directory, for example “scratch“. |
fileconn.dir.private
(Only in S60) |
Private work directory of MIDlet suite. For example, “file:///c:/private/102033e6/midlets/[1015b77b]/scratch“. |
fileconn.dir.roots.names
(From S60 3rd Edition FP 2 onwards) |
Localized names corresponding to roots returned by the FileSystemRegistry.listRoots() method. One localized name corresponds to each root returned by the method. Localized names are in the same order as returned by the method and are separated by a semicolon (;) character. If no localized name exists for the root, the nonlocalized (logical) name is returned in the property for this root. Root names returned through this property cannot contain the semicolon (;) character. |
fileconn.dir.themes.name
(Only in Series 40) |
Localized name for the themes directory, for example “Themes“. |
fileconn.dir.themes
(Only in Series 40) |
The URL of the default storage directory for themes. “file:///C:/predefgallery/predefthemes“ |
Beispiel:
String url = System.getProperty("fileconn.dir.photos") + "myImage.jpg";
Das Resultat: file:///c:/data/Images/myImage.jpg

Leave a Reply