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

Posts: 202
Registered: ‎04-19-2011
My Device: Blackberry Bold 9780
My Carrier: TAM

AutoComplete Field with fixed result


I want to develop a autocomplete field in blackberry, that can show all contact person..

But, the problem is i want the result is fixed from database.. So any text that user have type in this autocomplete field is valid if it's from database..

for example :

i have 6 words in my database :  monday, tuesday, wednesday, thursday, friday and saturday

user can only input these words only.. if he input sunday or saturdays, it's not valid and this editfield will be reset to empty string.

How can i archieve that using autocomplete field??