BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 07-03-2009, 08:59 AM   #1 (permalink)
New Member
Join Date: Jun 2008
Model: 8707
Carrier: Vodafone
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to validate Email address using any BlackBerry API?

Please Login to Remove!


I have made code in which i am sharing my data to the address book contacts,in which the contacts which having the email address stored.

Now i want to put validation on the email address.

For example 1 contact having the email as : [email address] .

How should i check that the email which is mentioned here is valid ? coz in this case so many possibility will come.

please let me know in RIM api any interface or class available which satisfy my need of validation of Email address.?

Please give any code or useful link or any Api ,which would be appreciated.

Mishal Shah
Old 07-03-2009, 02:43 PM   #2 (permalink)
Dubdub's Avatar
Join Date: Nov 2005
Location: New Hampshire
Model: App6+
PIN: Ask
Carrier: ATT & Verizon
Posts: 20,036
Post Thanks: 52
Thanked 777 Times in 737 Posts

Moved to more appropriate Forum.
-->>BB FAQ

-->>Stinsonddog's Tip Site!


If someone helps, tell them by clicking the Thanks button.!!
Old 07-03-2009, 03:29 PM   #3 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

There isn't anything in the BB API's (AFAIK), but this is a simple thing to implem,ent, Just check for invalid characters and confirm that the '@' and '.' chars are there.

If you are filtering actual input, use EmailAddressEditField.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Metasys Johnson Controls DX 9100 8454
Metasys Johnson Controls DX 9100 8454 picturemetasys Johnson Controls DX 9100 8454
metasys Johnson Controls DX 9100 8454 pictureJohnson Controls Metasys MS-NAE5510-0
Johnson Controls Metasys MS-NAE5510-0 pictureJohnson Controls METASYS LN-PRG12A Programmable Controller
Johnson Controls METASYS LN-PRG12A Programmable Controller  pictureJohnson Controls Metasys DX-9100-8454 Digital Controller
Johnson Controls Metasys DX-9100-8454 Digital Controller picture

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