Namespaces
Variants
Actions
Revision as of 14:45, 23 June 2010 by seppo_fn (Talk | contribs)

API and functionality changes in Symbian^3 / Nokia N8

Jump to: navigation, search

This article describes the current changes and known issues in Symbian^3 or Nokia N8 compared to earlier Symbian S60 releases. The list provides links to detailed documentation and known issue articles, and it is being constantly updated when issues are detected and fixed.

Contents

New Graphics Architecture

A New Graphics Architecture (NGA) has been introduced in Symbian^3 and some binary breaks in applications using Direct Screen Access (DSA) are expected. It is strongly recommended that such applications be rebuilt with the Symbian^3 SDK and tested on the Nokia N8 or other Symbian^3 devices once available. More details will come later as we find out more about the exact changes and implications for developers.

Display mode with alpha channel

Symbian C++ applications should be ready to handle a display mode (TDisplayMode) with the alpha channel defined (EColor16MA and EColor16MAP). See more at: http://wiki.forum.nokia.com/index.php/TSS001523_-_Display_mode_with_alpha_channel_on_Symbian_devices

Buffer size of DevSound

The buffer size of DevSound devices has increased in Nokia N8. Developers accessing the audio system through DevSound APIs should be aware of this change, detect the buffer size at runtime, and adapt their application logic accordingly. See detailed information at: http://wiki.forum.nokia.com/index.php/KIS001595_-_Increased_CMMFDevSound_playback_buffer_size_in_Nokia_N8.

Scaling volume at runtime

Third-party applications have reported failure due to their assumption of max volume being 10. Developers are advised not to make such assumptions and instead query for max volume at runtime and scale their volume increments accordingly. See detailed information at: http://wiki.forum.nokia.com/index.php/TSS001596_-_Volume_level_range_in_Nokia_N8.

Playing short tones

When playing very short tone sequences or DTMF strings, developers should use WAV files and the Audio Streaming API instead of a tone generator. See detailed information at: http://wiki.forum.nokia.com/index.php/KIS001594_-_Audio_tone_player_fails_to_generate_short_tones.

Changes in Comms framework (MBuf)

Developers working with low-level components of the Comms framework (for instance, the IpHook API), should be aware that the MBuf API has been changed and it is no longer binary compatible. Thus developers need to rebuild their applications for Symbian^3.

The change applies to:

Classes TCommsBufBase; TCommsBuf; RCommsBuf; RMBufAsyncRequest

Functions RCommsBufPond::StartRequest; RCommsBufPond::CancelRequest; RMBufAsyncRequest::iLength; RMBufAsyncRequest::iMBufs; RMBufAsyncRequest::iChain; RMBufAsyncRequest::iStatusPtr; RMBufAsyncRequest::iThread; RMBufAsyncRequest::iLink

Libraries mbufmgr.dll; commsbufs.dll

Headers mbufasyncrequest.h; commsbufpond.h; mbufasyncrequest.h; comms-infras\commsbuf.h

UI and hardware key changes

In addition to UI changes between S60 5th Edition and Symbian^3 (see porting information at: http://library.forum.nokia.com/topic/Nokia_Symbian3_Developers_Library/GUID-021E8B9C-4A1B-4C6D-B69E-4337A766C39A.html ), there may be device-specific configurations for keys and screen resolution. For example, the Nokia N8 does not have Send and End keys. Therefore, it is recommended that applications do not rely on certain keys but provide all functionality on the touch UI.

UI layout changes

Applications should be aware of layout changes in Symbian^3, and verify if assumptions made about sizes and positions of controls are still valid. However, if the application is making heavy use of custom controls, developers may be interested in using the Layout Data API [1] despite it not being classified as an SDK API.

Changes in the AppArc framework

Due to changes in the AppArc framework, applications that use the TApaAppEntry object will not start on Symbian^3 based devices. For details, see http://wiki.forum.nokia.com/index.php/TSS001593_-_Changes_in_AppArc_framework.

392 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved