ActionScript Contacts Service API

The Contacts Service API is supported since Flash Lite Player 3.0 on S60 5th Edition devices.

The Contacts Service API allows Flash Lite applications to access and manage information about contacts. This information can reside in one or more contacts databases stored on a device or in the SIM card database. The API is integrated into Flash Lite through the Service object.

For an overview of the service and the API, see section Accessing and managing information about contacts.

Using the Contacts Service API

To use the Contacts Service API, your Flash Lite application must first create a Service object for it. Use Service.Contact to identify the service provider and IDataSource to identify the supported interface:

 var contact = new Service("Service.Contact", "IDataSource");

This service object can then be used to access the services provided by the API: