Sony Ericsson P900 Other useful Symbian APIs, Streaming AMR API, Mms Api, Device identification

Models: P900

1 31
Download 31 pages 11.3 Kb
Page 20
Image 20
Streaming AMR API

Developers Guideline UIQ C++ and PersonalJava

Streaming AMR API

AMR is standard speech GSM encoding/decoding technology. It lets you play and record AMR encoded sound at different bit rates. This function can therefore be used by your application.

The Streaming AMR API support is not supplied in the base software of the P800 and must therefore be installed separately. The package provided (StreamingAmr.sis) is used to add this Streaming AMR API to the device.

Compatibility

The Streaming AMR API is compatible with the P800 Organiser software CXC162001 R2A14 and later.

There is no need to install any AMR packages for the P900 or P910 series. This function is provided in the base software.

To make the Streaming AMR API a part of an installable application, add the following line to the applica- tion’s.pkg file:

@"StreamingAmr.sis", (0x101F94AE)

MMS API

The P910 incorporates its own version version of MMS APIs allowing multimedia messages to be received on and sent from the phone. This MMS is different from the MMS service that is found in the standard UIQ 2.1 SDK.

The MMS API is based on a similar MMS API available for Nokia Series 60 Developer Platform 2.0. This will allow easy porting of applications that use MMS between Series 60 and UIQ 2.1.

Compatibility

The MMS API is compatible with the P910 Organiser software CXC 162041 R2A17 and later. The MMS API will not work on P800 and P900 series

Other useful Symbian APIs

Device identification

HAL can be used to identify and adjust the behaviour of the P800, P900 and P910 series applications.

#include <hal.h>

HAL::Get(HALData::EMachineUid, aInt)

20

October 2004

Page 20
Image 20
Sony Ericsson P900, P800 manual Other useful Symbian APIs, Streaming AMR API, Mms Api, Device identification, Compatibility