Sony Ericsson P900, P800 Behaviour related to flip modes, Application development, Convention

Page 16

Developers Guideline UIQ C++ and PersonalJava

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:

Use UIQ version...

for development on the ...

 

 

UIQ 2.1 SDK

P900 and P910 series

 

 

UIQ 2.0 SDK

P800 series

 

 

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.

16

October 2004

Image 16
Contents UIQ C++ and PersonalJava Preface Purpose of this documentTrademarks and acknowledgements Document historyTerminology and abbreviations Online Developer Resources Sony Ericsson Developer SupportURI WMA URL WTKContents Technical specifications for the P800, P900 and P910 series Technical overview and architecture Technical data P910 series P900 series P800 series Developer’s perspective on the P800, P900 and P910 seriesApplication development General information about the P900 series Feature SupportGeneral tips for the P900 and P910 series Internal user storage C drive Folder view of internal storageDevelopers Guideline UIQ C++ and PersonalJava UIQ 2.0 SDK SDK compatibility To be used withUIQ 2.1 SDK PersonalJava Additional tools useful to the pJava developerPJava performance PJava application considerationsPJava font limitations java.awt.Font FontMetrics fm = tk.getFontMetricsBehaviour related to flip modes Application developmentUIQ 2.0 vs UIQ 2.1 and application compatibility ConventionUIQ SDK for Symbian OS Device Emulator and Library LinkingTechnical requirements for the UIQ SDK Library linking for applications with device emulationEmulator issues and guidelines Porting applicationsSkin images Chinese extensions to the emulatorSony Ericsson specific APIs Camera APIVibration API CompatibilityOther useful Symbian APIs Streaming AMR APIDevice identification @StreamingAmr.sis, 0x101F94AEBluetooth Colour displayAudio Media serverAPI Limitations ETel Deploying applications on the P800, P900 and P910 seriesMessaging/MMS P800/P900 series specific .sis packages On-target debugging Installation and data storageMore information How to check if the Symbian certificate is installed How to install the Symbian certificateSigning digital applications Symbian SignedGo-to-Market opportunities Technical specifications and references Technical specifications for the P800, P900 and P910 series Specification tableCharacteristic P910 series P900 series P800 series Characteristic P910 P900 series P800 seriesLinks and references Tips, information and external documentationPJava on P800, P900 and P910 series LinksIndex
Related manuals
Manual 4 pages 9.29 Kb Manual 41 pages 10.08 Kb Manual 8 pages 49.9 Kb