Contacts

Viewing a contact

Here are the invocation attributes you use to launch the contacts app to view a contact:

Attribute Value
Target ID

sys.pim.contacts.app

Action

bb.action.OPEN

MIME type

application/vnd.blackberry.contact.id

Data

Contact ID integer( for more information, see ContactService)

Adding a new contact

Here are the invocation attributes you use to launch the contacts app to add a new contact:

Attribute Value
Target ID

sys.pim.contacts.app

Action

bb.action.ADDTOCONTACT

MIME type

application/vnd.blackberry.string.phone, application/vnd.blackberry.string.email, application/vnd.blackberry.string.pin

Data

Depending on the MIME type, you could use the phone number string, email address string, or the PIN string.

Opening a vCard contact attachment

Here are the invocation attributes you use to open a vCard contact attachment (.vcf file) using a contact previewer card:

Attribute Value
Target ID

sys.pim.contacts.card.viewer

Action

bb.action.VIEW

URI

file:// (for example, file:///path/to/file.vcf)

Here are the invocation attributes you use to launch the contacts app to open a vCard contact attachment (.vcf file):

Attribute Value
Target ID

sys.pim.contacts.app

Action

bb.action.OPEN

URI

file:// (for example, file:///path/to/file.vcf)

Creating a new contact

Here are the invocation attributes you use to create a new contact using a contact composer card:

Attribute Value
Target ID

sys.pim.contacts.card.composer

Action

bb.action.CREATE

Editing an existing contact

Here are the invocation attributes you use to edit an existing contact using a contact composer card:

Attribute Value
Target ID

sys.pim.contacts.card.composer

Action

bb.action.EDIT

MIME type

application/vnd.blackberry.string.contact, application/contact

Data

Contact ID integer (for more information, see ContactService)

Picking a contact

Here are the invocation attributes you use to pick a contact using a contact picker card:

See ContactPicker for more information.

Here are the invocation attributes you use to view a contact using a contact previewer card:

Attribute Value
Target ID

sys.pim.contacts.card.viewer

Action

bb.action.VIEW

MIME type

application/contact, application/vnd.blackberry.string.contact, application/vnd.blackberry.contact.id

Data

Contact ID integer. For more information, see ContactService.

Setting a picture of an existing contact

Here are the invocation attributes you use to set a picture of an existing contact:

Attribute Value
Target ID

sys.pim.contacts.setcontactpicture

Action

bb.action.SET

URI

file:// (e.g. “file:///path/to/photo.jpg”)

Last modified: 2013-12-21

comments powered by Disqus