[Solved] @ validation for email in BlackBerry

[ad_1] Use EmailAddressEditField.. here is the way EmailAddressEditField email=new EmailAddressEditField(“Email Address: “, “”); String address =email.getText(); int at = address.indexOf(“@”); int len = address.length(); String host = address.substring(at + 1, len); int dot = host.lastIndexOf(‘.’); len = host.length(); if (at <= 0 || at > len – 6 && dot < 0 || dot >= … Read more

[Solved] Blackberry Version checking

[ad_1] There’s a better approach than you described. Use preprocessor and alx-task to build different application versions for different OS version. Then you will have one alx + set of folders with cod files, where every folder has cod files for particular platform version. Alx file will contain directives to install cod files from the … Read more