Sony Ericsson P800, P900 Sony Ericsson specific APIs, Camera API, Vibration API, Compatibility

Page 19

Developers Guideline UIQ C++ and PersonalJava

Sony Ericsson specific APIs

The Sony Ericsson specific API:s and relevant documents can be found at Sony Ericsson Developer World.

Camera API

The Sony Ericsson Camera APIs for the P800, P900 and P910 series support:

Still image capturing of RGB bitmap based pictures in three sizes.

Still image mode direct-to-screen view finding of one fixed size (QQVGA). The Camera API for the P900 also supports video recording of QCIF sized frames in YUV 4:2:0 format at 15 frames per sec- ond and video mode direct-to-screen view finding of one fixed size (QCIF).

Detailed API information is available within the downloadable packages.

The Camera API support for the P800 series is not pre-installed in the device and must be installed sepa- rately. At install time the package (ECam.sis) checks to see if the target phone supports the Camera API. Applications using the Camera API embed ECam.sis into the application package.

Compatibility

The camera API for the P800 is compatible with P800 Organiser software CXC162001 R2A14 and later.

There is no need to install any Camera API packages for the P900 and P910 series. This function is pro- vided in the base software.

To make the Camera API a part of an installable application, add the following line to the application's .pkg file:

@"ECam.sis", (0x101F7D30)

Vibration API

The Sony Ericsson Vibration API turns the vibration function on and off. This API is also used to specify the time to turn the vibration on or off and the number of times to run this scenario. Detailed API information is available within the downloadable package.

The Vibration API in the P900, P910 and the P800 series are binary compatible. The dynamic link library is present in the P900 and P910 series but needs to be installed manually in the P800 series.

The Vibration.sis file has to be embedded into the application .sis-file to provide application support on both P800, P900 and P910 series. This embedded .sis-file will be ignored by the P900 and P910.

To make the Vibration API a part of an installable application, add the following line to the application's

.pkg file:

@"Vibration.sis", (0x101F94A3)

19

October 2004

Image 19
Contents UIQ C++ and PersonalJava Purpose of this document PrefaceTrademarks and acknowledgements Document historyTerminology and abbreviations URL WTK Online Developer ResourcesSony Ericsson Developer Support URI WMAContents Technical specifications for the P800, P900 and P910 series Technical overview and architecture Developer’s perspective on the P800, P900 and P910 series Technical data P910 series P900 series P800 seriesApplication development General information about the P900 series Feature SupportGeneral tips for the P900 and P910 series Folder view of internal storage Internal user storage C driveDevelopers Guideline UIQ C++ and PersonalJava UIQ 2.0 SDK SDK compatibility To be used withUIQ 2.1 SDK Additional tools useful to the pJava developer PersonalJavaFontMetrics fm = tk.getFontMetrics PJava performancePJava application considerations PJava font limitations java.awt.FontConvention Behaviour related to flip modesApplication development UIQ 2.0 vs UIQ 2.1 and application compatibilityLibrary linking for applications with device emulation UIQ SDK for Symbian OSDevice Emulator and Library Linking Technical requirements for the UIQ SDKChinese extensions to the emulator Emulator issues and guidelinesPorting applications Skin imagesCompatibility Sony Ericsson specific APIsCamera API Vibration API@StreamingAmr.sis, 0x101F94AE Other useful Symbian APIsStreaming AMR API Device identificationMedia server BluetoothColour display AudioAPI 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 Symbian Signed How to check if the Symbian certificate is installedHow to install the Symbian certificate Signing digital applicationsGo-to-Market opportunities Technical specifications and references Characteristic P910 P900 series P800 series Technical specifications for the P800, P900 and P910 seriesSpecification table Characteristic P910 series P900 series P800 seriesLinks Links and referencesTips, information and external documentation PJava on P800, P900 and P910 seriesIndex
Related manuals
Manual 4 pages 9.29 Kb Manual 41 pages 10.08 Kb Manual 8 pages 49.9 Kb