Sony Ericsson P900 Cell Phone User Manual


 
Developers Guideline UIQ C++ and PersonalJava
19 October 2004
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)