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
Developer
Posts: 119
Registered: ‎06-25-2013
My Device: Z10
My Carrier: none

contact search with multiple parameters

[ Edited ]

Hi,

I am getting this error in including this line 

   #include <bb/pim/contacts/SearchField>

 

error

Unresolved inclusion: <bb/pim/contacts/SearchField>

 

How to resolve it ??

 

Regards,

Sanjeev

Developer
Posts: 1,523
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: contact search with multiple parameters

Hi,
SearchField is defined in bb/pim/contacts/ContactConsts file. Could you try:
#include <bb/pim/contacts/ContactConsts>

Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 119
Registered: ‎06-25-2013
My Device: Z10
My Carrier: none

Re: contact search with multiple parameters

Hi, 

 

How to search for a contact with multiple search parameter. like first name , last name , phoneMobile, phoneWork etc.. 

I have a text fields for all of them. if user enters all of them, I have to search with all the params.

 

Regards,

Sanjeev

Developer
Posts: 109
Registered: ‎08-23-2012
My Device: Blackberry Z10
My Carrier: TATA DOCOMO

Re: contact search with multiple parameters

Developer
Posts: 119
Registered: ‎06-25-2013
My Device: Z10
My Carrier: none

Re: contact search with multiple parameters

in a single contactsearchfilter object can i use all the search parameters. as the value of each of search param is different for first name , last name and so on .