Validating email password on blackberry
Email Address Edit Field email=new Email Address Edit Field("Email Address: ", ""); String address =Text(); int at = address.index Of("@"); int len = address.length(); String host = address.substring(at 1, len); int dot = Index Of('.'); len = host.length(); if (at After i add(email); it gives me a dialog error of invalid email as soon as the form is opened.Please suggest me a proper email validation for a textfield/emailaddresseditfield which shows validation as soon as wrong input is typed in the field. An empty string is an invalid email address, but you want to "show validation as soon as wrong input is typed" which is exactly what your code is doing.cannot send or receive email, follow the steps below in the order given to determine the problem.To make sure that you are in a place with a strong enough signal for Black Berry communication, click the .This will be enabled by default if the integration type supports push.Email sync timeframe: Adjusting this setting controls the amount of mail that will be pulled down from your account to the application.Below, you will find information about network coverage that supports email for AT&T and Verizon; for other carriers, contact your provider to determine what to look for.Regardless of what carrier you use, if your network status indicates email is not supported in your area, you must move to a location where email is supported.
If your signal is stronger than -100 Bm (with a larger number, e.g., -90 Bm), continue troubleshooting.
If your network status indicates email support, but you still cannot send or receive email, continue troubleshooting. If the "G" or "EDGE" is not uppercase, this indicates that the devices are in range of an area with limited coverage.
Phone calls and texting will work, but data like web browsing and BES mail delivery will most likely not.
If these settings are all correct, and you are able to register your Black Berry, continue troubleshooting.
Remove the device battery for about five minutes to ensure a complete disconnect from the Black Berry network.
_You would need to supply your own regex to match an email though.