Java Reference
In-Depth Information
Figure 5.22 The Task Manager in the UIQ emulator
DeployingandRunningMIDletsfromNetBeans
Now we can integrate the NetBeans IDE with the UIQ 3 SDK emulator
(which can be integrated with any UEI-compliant IDE).
1.
In NetBeans, select Tools, Java Platform Manager. Select the J2ME
tab and click on Add Platform.
2.
Select the Java Micro Edition Platform Emulator, click Next and click
Find More Java ME Platform Folders. You are then presented with the
directory browser.
3. Browse to the
\ epoc32 \ tools \ java \ sei \ winscw \ udeb \ hmidp
92 \
folder under the UIQ 3 installation directory, and click on Search.
The directory is added to the list of folders under which NetBeans
looks for a UEI-compliant SDK.
4. Check the appropriate SDK box, click Next and allow NetBeans to
detect the SDK (see Figure 5.23).
5. Click Finish to complete the integration of the UIQ 3 MIDP SDK with
NetBeans.
When you create a new Java ME MIDlet project in NetBeans and you
reach the Default Platform Selection page (see Figure 5.24), select the
UIQ 3 SDK (named Symbian 9.2 SDK) and win32 as the device (this
means that you are running the emulator on Windows). You can then
click on Finish to complete the setup of the new project.
You may launch the emulator from the Windows program menu. Once
it is running, you can start the DebugAgent from the applications menu
(see Figure 5.25a). You can also launch the DebugAgent from NetBeans.
Click Tools, Java Platform Manager. Select the Tools and Extensions tab
Search WWH ::




Custom Search