BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-08-2008, 08:34 AM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
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  
Old 04-09-2008, 12:04 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question

....
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.