Java User’s Guide
Content
123
s
wm_java_usersguide_v12 Page 5 of 123 2008-02-25
Confidential / Released
5.12.3.4 Upload................................................................................. 46
5.12.3.5 Download ............................................................................ 47
5.13 System Time.................................................................................................... 49
6 MIDlets .......................................................................................................................50
6.1 MIDlet Documentation .....................................................................................50
6.2 MIDlet Life Cycle.............................................................................................. 50
6.3 Hello World MIDlet........................................................................................... 52
7 File Transfer to Module.............................................................................................53
7.1 Module Exchange Suite................................................................................... 53
7.1.1 Windows Based.................................................................................. 53
7.1.2 Command Line Based ........................................................................53
7.2 Over the Air Provisioning................................................................................. 53
7.3 Security Issues.................................................................................................54
7.3.1 Module Exchange Suite...................................................................... 54
7.3.2 OTAP.................................................................................................. 54
8 Over The Air Provisioning (OTAP) ..........................................................................55
8.1 Introduction to OTAP .......................................................................................55
8.2 OTAP Overview............................................................................................... 55
8.3 OTAP Parameters............................................................................................56
8.4 Short Message Format ....................................................................................57
8.5 Java File Format.............................................................................................. 58
8.6 Procedures.......................................................................................................59
8.6.1 Install/Update...................................................................................... 59
8.6.2 Delete..................................................................................................60
8.7 Time Out Values and Result Codes.................................................................61
8.8 Tips and Tricks for OTAP.................................................................................61
8.9 OTAP Tracer....................................................................................................62
8.10 Security............................................................................................................ 62
8.11 How To.............................................................................................................62
9 Compile and Run a Program without a Java IDE................................................... 64
9.1 Build Results.................................................................................................... 64
9.2 Compile............................................................................................................ 65
9.3 Run on the Module with Manual Start..............................................................65
9.4 Run on the Module with Autostart....................................................................66
9.4.1 Switch on Autostart............................................................................. 66
9.4.2 Switch off Autostart............................................................................. 66
10 Compile and Run a Program with a Java IDE.........................................................67
10.1 Eclipse 3.1.2 (with ME Plugin 1.2.3)................................................................ 67
10.1.1 Setup a New Project ........................................................................... 67
11 Debug Environment.................................................................................................. 72
11.1 Data Flow of a Java Application in the Debug Environment............................ 72
11.2 Emulator...........................................................................................................73