Sony Ericsson P900 API Limitations, COMMDB Object, BIOMSG Object, BAFL bassnd.h, CEikInfoDialog

Models: P900

1 31
Download 31 pages 11.3 Kb
Page 22
Image 22
API Limitations

Developers Guideline UIQ C++ and PersonalJava

API Limitations

Some components in the P800, P900 and P910 series have been replaced and therefore some of the standard Symbian/UIQ APIs are not valid.

COMMDB Object

The following interface has a slightly different behaviour:

CCommsDbTableView::ReadTextL(const TDesC& aColumn, TDes8& aValue)

The difference relates to the type of data stored in 'aColumn'.

In the SDK version of COMMDB, 'aColumn' is either narrow text (EDbColText8) or wide text (EDbColText16). If it is wide text, a conversion is performed.

In the P800, P900 and P910 series version of COMMDB, 'aColumn' must be narrow. If it is not, the client will receive the following error:

Category - DBMS

Reason - 7 (EDbWrongType)

BIOMSG Object

The following MTM library is not present in the P800, P900 and P910 series:

Z:\SYSTEM\PARSERS\wapp.dll

Any client attempting to dynamically load this library will receive the error code -1 (KErrNotFound).

BAFL bassnd.h

Built in system sounds, i.e. in ROM, cannot be replaced by using the function:

BaSystemSound::SetSoundL()

CEikInfoDialog

Subclassing of CEikInfoDialog is not recommended in the P800, P900 and P910 series.

WAP stack

The component does not exist in the P800, P900 and P910 series – do not use these APIs. Another unpublished set of APIs are used.

22

October 2004

Page 22
Image 22
Sony Ericsson P900, P800 manual API Limitations, COMMDB Object, BIOMSG Object, BAFL bassnd.h, CEikInfoDialog, WAP stack