Contacts: 1 Setting up a Contact List: 1.3 Detecting Unknown Phone Numbers

Up: GEOS SDK TechDocs| Up | Prev: 1.2 Remembering the Search | Next: 1.4 Alternate Selection Messages

If the user enters a valid phone number in the search box of a ContactList, but that number is not found, an application may request that the ContactList send out a notification using a variable data field. (This variable data field is available on devices with version numbers "Responder Build 4...." and higher. See Software Version Number for information about finding out the software version of the user's device.)

Give the ContactList a ATTR_CONTACT_LIST_NOTIFY_NUMBER_ENTERED_MSG variable data field. This field's data is a message.

The message should have parameters:

  void MSG_MY_CL_NOTIFY( MemHandle phNumber = cx);

The passed block contains the phone number string. The message's recipient is responsible for freeing the passed block.

 


Up: GEOS SDK TechDocs| Up | Prev: 1.2 Remembering the Search | Next: 1.4 Alternate Selection Messages