Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
01-30-2014 03:02 PM
is it possible?
just shows how to open the new card.
Can you do something with:
InvokeRequest cardRequest; cardRequest.setTarget("sys.pim.contacts.card.compo
ser"); cardRequest.setAction("bb.action.CREATE"); cardRequest.setMimeType("application/contact"); cardRequest.setData(SOMETHING HERE?);
to fill in some of the fields?
01-30-2014 03:12 PM
I would try to follow the same steps described for prepopulating an Email card as described here:
Or a Calendar event as described here:
01-30-2014 03:14 PM
01-30-2014 03:52 PM
the setData should have the contact ID of the contact you want to show info about, from what I've looked at it seems as though it should populate all the info for that contact.
I took a look and I think passing this data might do the trick, no garuntees though.
If that doesn't' work check the ContactService Page, the URI page states that it it wants
Contact ID integer( for more information, see ContactService)
01-30-2014 03:54 PM
Thanks, but I'm looking to invoke a New contact card with prepopulated fields that come from strings that come from the invoking application. Not an exisiting contact.
01-30-2014 03:59 PM
Hello again stardomains,
I haven't tried it myself! But, here is a suggestion for you to try:
The Calendar creation card is sort of linked to the properties of the CalendarEvent API. By analogy, I would assume that the Contact creation card would similarly be linked to the properties of the ContactBuilder API.
Try it and let me know how it goes!
01-30-2014 04:01 PM - edited 01-30-2014 04:02 PM
the best option to do that im seeing would be adding a new contact
it looks like the data you can add is restricted to either e-mail, phone or pin. whichever MIME type you choose the data should be a string with either a e-mail, phone number or pin.
I dont know if it will let you send all 3 types at once, I don't belive it will. other than those 3 things, the only thing I can see that can be set directly from the invoking app is the picture