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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
subbanaidu
Posts: 28
Registered: ‎02-07-2012
My Carrier: ATT

How to avoid adding duplicate contacts on blackberry device ?

Hi,

 

         Any body has an idea how to avoid adding duplicat contacts on blackberry device using API ?

 

Thanks

Subba.

Please use plain text.
Developer
Developer
CMY
Posts: 1,117
Registered: ‎02-10-2009
My Carrier: Verizon

Re: How to avoid adding duplicate contacts on blackberry device ?

Use the PIM API to search for a contact with the existing name/data before adding it to the addressbook.
Please use plain text.
Contributor
subbanaidu
Posts: 28
Registered: ‎02-07-2012
My Carrier: ATT

Re: How to avoid adding duplicate contacts on blackberry device ?

Do you have any sample code for this ?

I am new to this, i have bit confusion using these PIM API.

 

Thanks,

Subbanaidu

Please use plain text.
New Developer
Aniruddha
Posts: 60
Registered: ‎09-23-2011
My Carrier: Blackberry Developer

Re: How to avoid adding duplicate contacts on blackberry device ?

Hello,

 

Please refre below link for PIM API.

 

http://bittyjava.wordpress.com/2006/11/10/a-simple-pim-example/

 

Thanks!!

Regards,

Aniruddha

Please use plain text.