DialingDirectory and DialingDirectoryEntry objects

Using the phone directory objects

The DialingDirectory and DialingDirectoryEntry objects provide an interface to the entries of phone books on Smartphone and PocketPC - Phone Edition platforms. You can use these objects to merge multiple sources of phone numbers into a single logical entity.

At design time, you can add a DialingDirectory object by selecting Insert>Object>DialingDirectory from the PocketBuilder menu. If you do not use the PocketBuilder UI to add a DialingDirectory object, you must instantiate a DialingDirectory object in code.

You can call the getEntry method on the DialingDirectory object to return a DialingDirectoryEntry object:

Integer l_idx = 1
DialingDirectoryEntry l_mydirectoryentry
l_mydirectoryentry = l_myphonebook.getEntry (l_idx)

For more information

Properties and functions of phone-related objects are described in the PowerScript Reference and in the online Help.