Notify An Application When A List Of Contacts Changes - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVICE APPLICATIONS INTEGRATION - DEVELOPMENT GUIDE Integration Manual

Blackberry device applications integration guide
Table of Contents

Advertisement

BlackBerry Device Applications Integration Guide

Notify an application when a list of contacts changes

1.
Create a class that implements the
public class myContactListListener implements PIMListListener {
2. To register to receive notifications of changes to a contact list, invoke
BlackBerryPIMList contactList =
(BlackBerryPIMList)PIM.getIntsance().openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);
contactList.addListener(new myContactListListener());
38
PIMListListener
interface.
BlackBerryPIMList.addListener()
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment 4.6.0

Table of Contents