| C H A P T E R 1 |
|
Overview |
This chapter describes architecture of the Titan Toolkit and major features in this prototype release.
The Titan Toolkit is a software development kit (SDK) consisting of:
The central component of the whole system is the Device Manager that communicates with the emulator as well as with real devices connected to the host computer. As shown in FIGURE 1-1, from a development standpoint it is transparent whether you are working with the emulator or with a real device. The Device Manager is tightly coupled with the UEI Proxy component that provides seamless integration with IDEs (e.g. NetBeans). Please see the Installation Guide for the NetBeans integration procedure.
FIGURE 1-1 Titan Toolkit Component Interaction
This architecture simplifies integration in many ways.
This section describes important features in this prototype release.
New concepts were implemented especially for the Titan Platform SDK. First, the SDK makes it possible to work with both the device Emulator and the real device connected to host system. The development environment is plug and play - there is no need for complicated setup and configuration. The emulator and the real device are running the same platform. All the tools available for emulator should be working with your device.
Automatic device detection allows the SDK to recognize when a Windows CE device is connected to (or disconnected from) the computer running the SDK (the device manager). After successfully detecting the device, its name is added to the list of devices and emulators known to SDK and from that point will be available to SDK tools and external IDEs (Netbeans). The current implementation uses ActiveSync APIs for this detection. ActiveSync also hides the transport details from SDK. So the device can be connected to the desktop computer by any means supported by ActiveSync (Bluetooth, RS-232, USB). Support for a new class of devices can be added into SDK by implementing a device adapter for the class.
After the connected device is recognized by SDK it can be chosen in a Netbeans project as a target. After this when the project is run, the application JAR file is deployed directly to the device and can be run there. Depending on the execution mode, the application is either left on the device after its execution or is removed automatically.
You can simply deploy your mobile application while the emulator is running. There is no need to restart the emulator to deploy a new mobile application.
When an application is running on a device or an emulator its output is redirected to the Netbeans output window. By adding debugging messages into the application code its execution can be monitored. This provides very basic debugging support.
A mobile project developed in Netbeans can be debugged as easily on the device as on the emulator. Two modes of debugging are supported. The debugger can be attached to a device that has an application installed and running (Attach Debugger) or the debugger can be started when the project is executed from Netbeans (Debug Main Project).
The OSGi browser is a Netbeans plugin that displays OSGi bundles installed on SDK devices and emulators. This feature is discussed in Chapter 3.
Copyright © 2007, Sun Microsystems, Inc. All Rights Reserved.