Midp og midlets
This presentation is the property of its rightful owner.
Sponsored Links
1 / 8

MIDP og MIDlets PowerPoint PPT Presentation


  • 44 Views
  • Uploaded on
  • Presentation posted in: General

MIDP og MIDlets. Grundlæggende MIDlet struktur. BasicMidlet: Simpel udgave Mere detaljeret udgave. MIDlet tilstandsgram. Tilstandsændringer. class MIDlet. Fra package javax.microedition.midlet:: public abstract class MIDlet protected MIDlet() {...} protected abstract void startApp()

Download Presentation

MIDP og MIDlets

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Midp og midlets

MIDP og MIDlets


Grundl ggende midlet struktur

Grundlæggende MIDlet struktur

BasicMidlet:

  • Simpel udgave

  • Mere detaljeret udgave


Midlet tilstandsgram

MIDlet tilstandsgram


Tilstands ndringer

Tilstandsændringer


Class midlet

class MIDlet

Fra package javax.microedition.midlet::

public abstract class MIDlet

protected MIDlet() {...}

protected abstract void startApp()

throws MIDletStateChangeException;

protected abstract void pauseApp();

protected abstract void destroyApp(boolean unconditional)

throws MIDletStateChangeException;

public final void notifyDestroyed() {...}

public final void notifyPaused() {...}

public final String getAppProperty(String key) {...}

public final void resumeRequest() {...}

public final boolean platformRequest(String URL)

throws ConnectionNotFoundException {...}

public final int checkPermission(String permission) {...}

public class MIDletStateChangeException extends Exception

public MIDletStateChangeException() {...}

public MIDletStateChangeException(String s) {...}


Ams application management software

MIDlet

AMS (Application Management Software)

notifyDestroyed()

notifyPaused()

resumeRequest()

getAppProperty()

platformRequest()

checkPermission()

startApp()

pauseApp()

destroyApp()

AMS (Application Management Software)


Midlet package

MIDlet package

HelloMIDlet

  • source kode

  • jad- og MF filer


  • Login