Sony Ericsson P900 Cell Phone User Manual


 
Developers Guideline UIQ C++ and PersonalJava
16 October 2004
Behaviour related to flip modes
The P800, P900 and P910 series operates in two distinctly different UI modes: Flip Open (FO) and Flip
Closed (FC). pJava applications can be launched and can only appear on screen while in the FO mode. On
transition from FO to FC, the UI of any pJava application being executed becomes out of focus (hidden)
and the user is unable to interact with the application. The application may however continue to execute
and perform various tasks in the background. The user is able to return to the pJava application by return-
ing to the FO mode Application Launcher panel and selecting the application from the list of installed
applications. If that pJava application is already running, its UI appears instantly on screen. If it is not run-
ning, the application needs to start up before it can appear on screen.
To detect an AWT window state transition for pJava(AWT), it is possible to override the methods Window-
Closing and WindowOpening in java.awt.event.WindowAdapter. If such a transition occurs, the application
may decide to perform certain actions such as terminating, reducing resource usage, saving/restoring
state and so on.
Application development
This section provides a high level overview of the components required to successfully develop P800,
P900 and P910 series applications.
The UIQ SDK is generic and is not tailor-made for the Sony Ericsson smartphones. The P800, P900 and
P900 series devices are platforms based on the Symbian/UIQ base port supporting most of the APIs avail-
able in the SDK.
UIQ 2.0 vs UIQ 2.1 and application compatibility
The table below lists the UIQ versions and the appropriate development platform:
Note:
It is recommended that you test your application on all target devices.
Convention
From this point on, the UIQ 2.0 SDK and UIQ 2.1 SDK will be referred to as UIQ SDK meaning the SDK
applicable to the platform in reference.
Sony Ericsson publishes - at its own discretion - extra platform specific APIs. These are available from
Sony Ericsson Developer World.
Use UIQ version... for development on the ...
UIQ 2.1 SDK P900 and P910 series
UIQ 2.0 SDK P800 series