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

Java Development

Reply
New Member
Posts: 1
Registered: ‎04-22-2010
My Device: 9700 Bold
My Carrier: AT&T

BasicFilteredList datasource

Hello,

 

In my application I am using an AutoCompleteField to display contacts from my contacts list.

The BasicFilteredList datasource  is defined like this:

 

 

_filteredListContacts = new BasicFilteredList(); 
        _filteredListContacts.addDataSource(0, BasicFilteredList.DATA_SOURCE_CONTACTS,
                                BasicFilteredList.DATA_FIELD_CONTACTS_NAME_FULL | BasicFilteredList.DATA_FIELD_CONTACTS_COMPANY,
                                BasicFilteredList.DATA_FIELD_CONTACTS_NAME_FULL | BasicFilteredList.DATA_FIELD_CONTACTS_COMPANY,
                                BasicFilteredList.DATA_FIELD_CONTACTS_NAME_FULL,                                    
                                BasicFilteredList.DATA_FIELD_CONTACTS_COMPANY,
                                null, 
                                BasicFilteredList.COMPARISON_IGNORE_CASE);

 

The problem is the AutoCompleteField  displays only contacts I have entered into my BB by hand.

The entries coming from the exchange server are not displayed.

I suspect the BasicFilteredList only looks at the default contact list. While probably the exchange entries are put in another Contact list.

 

Can anyone make some light on this?

 

P.S: I am using BlackBerry JDE  version 5.0.0.14. My BlackBerry device is a 9700 Bold.

 

Thanks