javax.microedition.MIDlet

MIDP 2.1 compliant S60 devices support the javax.microedition.MIDlet classes completely as defined in the MIDP 2.1 JSR. The text below lists additional implementation information for this package.

MIDlet implementation should be done in a way that ensures the startApp and destroyApp methods returning quickly.

For example, if MIDlet startup requires several time consuming initializations, it should be done in a separate thread so that the startApp returns quickly.

platformRequest()

Return value of platformRequest is always false as request is executed immediately. The return value indicates that the calling MIDlet does not need to exit for the object to run

Implementation supports following URLs:


  • http://

  • https://

  • rtsp://

  • mailto://

  • tel:

  • file://

Corresponding native application is launched to handle request, it’s brought to the foreground while the MIDlet is kept running in the background. In case of file URL launched application depends on file type.

Examples:

URL

Launched Application

http://www.company.com

Browser

rtsp://my.streaming.server/file.3gp

Media Player

mailto://[email protected]

EMail

tel:+440123456789

Telephony

file:///c:/data/Sounds/music.mp3

Music Player

file:///c:/data/Videos/video.3gp

Media Player

file:///c:/data/Others/file.txt

Notepad

file:///c:/data/Installs/midlet.jad

Application Installer