1 / 8

MIDP og MIDlets

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MIDP og MIDlets

  2. Grundlæggende MIDlet struktur BasicMidlet: • Simpel udgave • Mere detaljeret udgave

  3. MIDlet tilstandsgram

  4. Tilstandsændringer

  5. 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) {...}

  6. MIDlet AMS (Application Management Software) notifyDestroyed() notifyPaused() resumeRequest() getAppProperty() platformRequest() checkPermission() startApp() pauseApp() destroyApp() AMS (Application Management Software)

  7. MIDlet package HelloMIDlet • source kode • jad- og MF filer

More Related