Java Reference
In-Depth Information
5.4.1 Generic UIQ 3 SDK
The primary role of the UIQ 3 SDK for Symbian OS is for Symbian
C++ development. However, there are two key points that make it very
relevant and useful for Java development. The UIQ 3 emulator gives
full-blown Symbian OS emulation, which allows you to install, run and
manage Java applications as on a real UIQ 3 device. Additionally, the
UIQ 3 SDK includes a basic SDK that is compliant with the Unified
Emulator Interface (UEI) and can be integrated with NetBeans, allowing
you to develop, run and debug MIDlets using the UIQ 3 emulator.
If you do not have the SDK installed, you may download it from
developer.uiq.com/devtools uiqsdk.html . (You need to be a registered
member of the UIQ Developer Community to be able to download it.)
The major benefit that the UIQ 3 SDK gives you is a single Java ME
execution environment which is compatible across the various UIQ 3
platforms (newer UIQ 3 versions may contain additional JSRs; e.g., the
UIQ 3.3 SDK supports more JSRs than the UIQ 3.1 SDK). The SDK also
gives you real emulation of Symbian OS: for example, you may launch
other native applications in the background while you are running your
MIDlet, change the device settings, and so on, just as you would do on a
real device.
DeployingandRunningMIDletsfromtheEmulatorFileSystem
You first need to copy the JAR and JAD to the emulator file system so that
you can use the UIQ emulator File Manager to install and run the suite.
1.
Launch the emulator from [SDK HOME] \ epoc32 \ release \
winscw \ udeb \ epoc.exe .
2.
In Windows, copy the suite JAR and JAD to the UIQ 3 emu-
lator file system under [SDK HOME] \ epoc32 \ winscw \ C \ Media
files \ other \
.
3.
In the UIQ 3 emulator, go to Main menu, Tools, File manager and
browse to
\ other \
(see Figure 5.19).
4.
Follow the installation process which will eventually start the MIDlet,
in this case, the APIsDetector MIDlet (see Figure 5.20).
After installing a suite, you can run the MIDlets again from the same
location as all installed applications (see Figure 5.21).
As you can see from Figure 5.20, the UIQ 3.3 emulator supports the
full set of MSA Component JSRs. In the emulator, you can also find all
the Java management operations that are on a real device, run native
applications concurrently, switch between applications (see Figure 5.22),
and so on.
Search WWH ::




Custom Search