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

New Contributor
Posts: 9
Registered: ‎04-04-2011
My Device: 9550
My Carrier: ASA

Validate URL



I have an editfield and a button in a screen, user entered some text in the edit field, when the button is pressed, i need to validate whether the entered text is in an URL format or not.  But we cant use regexp in blackberry and there are so many restrictions, how can we validate in this case. Can any one help me with some samples?



Thanks in advance