Running A Midlet And Displaying Trace Information; Understanding Nokia 3510I Midp Sdk Life Cycle - Nokia 3510i User Manual

Hide thumbs Also See for 3510i:
Table of Contents

Advertisement

Using Nokia 3510i MIDP SDK With JBuilder
1 In JBuilder, choose File>New Project to create a new project. Complete the dialogs in
JBuilder's Project Wizard. Note that, in the second dialog, you must specify the SDK as a
JDK using the unique JDK name you entered earlier.
2 In JBuilder, choose File>New to create a new MIDlet. Select the Micro tab and choose the
MIDlet template (MIDlet).
3 In JBuilder, choose Run Project. This causes a new instance of the SDK to run
immediately; no configuration parameters are requested.
4 With the SDK running the MIDlet, a user may interact with the SDK GUI, assuming the
MIDlet is interactive.
5 In JBuilder, click Reset to close the SDK.

Running a MIDlet and Displaying Trace Information

To enable tracing for the active project without affecting other JBuilder projects, use the
following procedure:
1 In JBuilder, choose Project>Project Properties.
2 In the Project Properties dialog, click the Run tab.
3 In the Project Properties dialog, click the MIDlet tab; in the Emulator parameters text
entry field, enter the command line parameter
dialog box.
4 In JBuilder, click Run. The tracing information is shown in JBuilder's Output window.

Understanding Nokia 3510i MIDP SDK Life Cycle

The SDK is designed such that each application that starts an SDK instance also owns it.
In JBuilder, a SDK instance is associated with each JBuilder project. The SDK configuration
parameters associated with an instance are stored on a per project basis in the JBuilder project
file (*.jpx, *.jpr).
Therefore, when you choose Run Project or Debug Project, a new SDK instance starts and
runs the MIDlet using the configuration parameters already stored for that project.
In JBuilder, when you click Reset, the SDK instance associated with the project exits. If you
chose the SDK using the SDK's GUI, the corresponding Reset button in JBuilder is
deactivated (grayed out).
Nokia 3510i MIDP SDK User's Guide
-tracememoryallocation
23
. Now close this

Advertisement

Table of Contents
loading

Table of Contents