Presentation is loading. Please wait.

Presentation is loading. Please wait.

Shane Cantrell Zach Crisman

Similar presentations


Presentation on theme: "Shane Cantrell Zach Crisman"— Presentation transcript:

1 Shane Cantrell Zach Crisman
CSE 413: Making Midlets Shane Cantrell Zach Crisman

2 Ant ant –buildfile build403.xml clean
ant –buildfile build403.xml build ant –buildfile build403.xml run file target

3 build403.xml Requires antenna
<property name="wtk.home" value="c:/wtk104"/>

4 MIDlet skeleton import javax.microedition.midlet.*;
public class MyMIDlet extends MIDlet { public MyMIDlet() {} // constructor public void startApp() {} // entering active state public void pauseApp() {} // entering paused state // entering destroyed state public void destroyApp(boolean unconditional) {} }

5 MIDlet state transitions
Paused pauseApp() startApp() Active destroyApp() destroyApp() Destroyed

6 MIDlet jad file MIDlet-Name: Introductory Midlets
MIDlet-1: Properties,,PView MIDlet-2: Accounts,,AccountViewer MIDlet-Vendor: Univ of Washington MIDlet-Version: 1.13 MIDlet-Jar-Size: 23919 MIDlet-Jar-URL: HW1.jar Image-1-name: Ant Image-1-location: /res/ant.gif

7 Notes doCommandAction(...)

8 Useful Classes Image ImageItem Form (eg. AccountPageScreen)


Download ppt "Shane Cantrell Zach Crisman"

Similar presentations


Ads by Google