As local files do not go through a server, the SDK provides an internal mapping between file types and content types. For example, when you use File > Open to load a local.jad file, the SDK uses content type text/vnd.sun.j2me.app-descriptor.
The following table lists the mappings between file and content types:
File suffix |
Content type presented to the SDK |
.3gp |
video/3gpp and audio/3gpp |
.3gpp |
video/3gpp and audio/3gpp2 |
.amr |
audio/amr |
.awb |
audio/amr-wb |
.bmp |
image/bmp |
.cod |
text/x-co-desc |
.dd |
application/vnd.oma.dd+xml |
.dm |
application/vnd.oma.drm.message |
.dr |
application/vnd.oma.drm.rights+xml |
.dcf, .df |
application/vnd.oma.drm.content |
.drc |
application/vnd.oma.drm.rights+wbxml |
.gif |
image/gif |
.html |
text/html |
.http |
application/vnd.nokia.http-response |
.jad |
text/vnd.sun.j2me.app-descriptor |
.jar |
application/java-archive |
.jpg .jpeg |
image/jpeg |
.m3g |
application/m3g |
.m4v |
video/mp4 |
.mid .midi |
audio/midi |
.mms |
application/vnd.wap.mms-message |
.mp3 |
audio/mpeg3 |
.nrt |
application/vnd.nokia.ringing-tone |
.nth |
application/vnd.nok-s40theme |
.nwp |
image/vnd.nok-wallpaper |
.oplc |
image/vnd.nok-oplogo-color |
.ott |
audio/vnd.nok-ringingtone |
.png |
image/png |
.sic |
application/vnd.wap.sic |
.slc |
application/vnd.wap.slc |
.svg .svgz |
image/svg+xml |
.swf |
application/x-shockwave-flash |
.spmidi .smf .xmf .mxmf |
audio/sp-midi |
.text .txt |
text/plain |
.vcf |
text/x-vCard |
.vcs |
text/x-vCalendar |
.wav |
audio/wav audio/mp3 |
.wbmp |
image/vnd.wap.wbmp |
.wml |
application/vnd.wap.wml |
.wmlc |
application/vnd.wap.wmlc |
.wmlsc |
application/vnd.wap.wmlscriptc |
.xhtml |
application/xhtml+xml |