New C++ APIs in S60 5th Edition

The following new C++ APIs are introduced in S60 5th Edition. In addition, some APIs are introduced in the Nokia N97 SDK.

API

Description

Accessory Monitoring API

Enables applications to determine the accessories, such as headsets, car kits, desk stands, loopsets, TTYs, and audio-visual devices, attached to an S60 device, including the accessory’s type, connection, and capabilities. The API also enables the monitoring of accessory connection and disconnection.

Choice List API

Enables mobile device users to select choices from a vertical list.

Generic Button API

Allows applications to draw an arbitrary button with an icon or text label and set its characteristics, such as dimmed or pressed.

Hierarchical Lists API

Allows applications to present data in a hierarchical list using text and graphics. Three list types are provided:

  • General-purpose hierarchical tree list

  • Single-column style list that allows for node expansion without indentation

  • Single-style tree to represent a folder and file structure

In addition, applications can apply a custom order to the list and a list-events observer.

Hostlet Connection API

Enables you to create and communicate with an application that provides evocable services on an S60 device, which is identified by a unique endpoint or contact URI. Effectively, this API allows you to provide Web services locally on an S60 device.

Messaging Integration API

Enables you to better integrate Message Type Module (MTM) services into the S60 Messaging application and Send UI API.

Sensor APIs

Allow applications to connect to and receive data from various sensors on an S60 device. The Sensor Channel API provides the mechanism by which an application connects to a sensor, while the Sensor Definition API provides the definitions of the data structures used to pass sensor-specific information through the channels. Specialized classes then provide for listening to and receiving meaningful data from sensors designed to detect acceleration, orientation, magnetic fields, and tapping.

Stylus Pop-up Menu API

Provides an application with the ability to draw a pop-up menu containing a single list of options, at the point where users tap on a touch screen.

Tactile Feedback Client API

Provides a mechanism for applications and UI controls to register their tactile feedback areas and receive notification of touch events.

Title Pane Touch Observer API

Allows an application to observe the user tapping on the title pane. For example, you can restore a default application view when the user taps on the title pane.

Toolbar API

Allows an application to construct a fixed or floating toolbar within an application view. The toolbar is constructed from AVKON buttons and can contain up to three buttons (although a floating toolbar displayed in the full-screen view can contain four buttons). Each button should provide an application-specific function. Toolbar buttons can be view-specific.

Touch UI Utilities API

Detects a long tap on the touchscreen

Web Service Messaging API

Extends basic Simple Object Access Protocol (SOAP) messaging features to enable you to set a security header and security token in any message. Includes an abstract interface that defines a set of Web services framework message classes.

WLAN SDK Info API

Allows you to read the WLAN MAC address of a device.

XML Engine Document Object Model (DOM) API

Enables the manipulation of a DOM.

XML Fragment API

Enables Web services framework-specific adaptations to the standard XML APIs. These new fragment classes provide an efficient way to build an XML Engine-based DOM tree from Simple API for XML (SAX) parsing output. Such a fragment can be described as a specialized combination of both a SAX parser and content handler.

See Also