View Single Post
Old 04-08-2008, 08:34 AM   #1 (permalink)
Talking BlackBerry Encyclopedia
arunk's Avatar
Join Date: Mar 2008
Model: 8310
Carrier: Airtel
Posts: 229
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem in setting filter

Please Login to Remove!

I want to set a filter for an EditField in such a way that it should accept
numbers, * and + (if u keep pressing the space character 0 should become +).

At present i am using

myField.setFilter( new PhoneTextFilter(PhoneTextFilter.ACCEPT_INTERNATION AL
| PhoneTextFilter.ACCEPT_CONTROL));

which accepts # character
but it should not accept # character..

If anybody can help me, please....

Last edited by arunk : 04-09-2008 at 12:04 AM.
Offline   Reply With Quote