Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
303 | ligi | 1 | /*********************************************************************** |
2 | * |
||
3 | * DUBwise == Digital UFO Broadcasting with intelligent service equipment |
||
403 | ligi | 4 | * main MIDLet Source file |
303 | ligi | 5 | * |
6 | * Author: Marcus -LiGi- Bueschleb |
||
403 | ligi | 7 | * |
8 | * see README for further Infos |
||
9 | * |
||
303 | ligi | 10 | ************************************************************************/ |
11 | |||
12 | import javax.microedition.lcdui.*; |
||
13 | import javax.microedition.midlet.*; |
||
14 | |||
15 | public class DUBwise |
||
16 | extends MIDlet |
||
17 | |||
18 | { |
||
19 | public Display display; |
||
20 | public MKMiniCanvas canvas; |
||
21 | public boolean loaded=false; |
||
22 | |||
23 | protected void startApp() |
||
24 | throws MIDletStateChangeException |
||
25 | { |
||
26 | |||
27 | if (loaded)return; |
||
28 | display = Display.getDisplay(this); |
||
29 | canvas=new MKMiniCanvas(this); |
||
30 | |||
31 | // fire up canvas |
||
32 | display.setCurrent(canvas); |
||
33 | loaded=true; |
||
34 | } |
||
35 | |||
36 | |||
37 | public void quit() { notifyDestroyed(); } |
||
38 | protected void pauseApp() {} // not needed right now |
||
39 | protected void destroyApp(boolean arg0) { } |
||
40 | |||
41 | } |