Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
mkolegan
Posts: 2
Registered: ‎10-25-2012
My Device: BB10

How to add new contact

Hello,

 

I need to add new contact to device Phonebook from my application.

It is possible to call native Contact application from my application in order to create new contact?

Or the only way -  creating my own contact details sheet in my app?  

 

Thank you,

M.

Please use plain text.
Developer
kylefowler
Posts: 526
Registered: ‎05-17-2009
My Device: 9900

Re: How to add new contact

There are invocation targets for adding a contact I believe plus there is this https://developer.blackberry.com/cascades/documentation/device_platform/pim/contacts.html

Like all of my posts
Please use plain text.
Developer
greenback
Posts: 531
Registered: ‎10-17-2010
My Device: BlackBerry Z10, DAC

Re: How to add new contact

Check out this source code. Basically it should give you the function you are looking for. You do not need to re-create Add Contacts screen for your app.

 

https://github.com/blackberry/Cascades-Samples/tree/master/PimAddressBook

 

:Rockon:

Please use plain text.
New Contributor
mkolegan
Posts: 2
Registered: ‎10-25-2012
My Device: BB10

Re: How to add new contact

Hello,
PimAddressBook example contains its own implementation of contact details sheet.
But I am looking for adding contacts via calling Native Contact application. I beleive it should be some invocation target ... Is there such example?
Thanks,
M.
Please use plain text.