1. Alexander Stolte

    Android Code Snippet [B4X] Check Valid E-Mail Format

    Private Sub EmailAddressCheck(email As String) As Boolean Return Regex.IsMatch("^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$",email) End Sub If EmailAddressCheck("") = True Then Log("E-Mail is valid") Else...
  2. R

    Android Question EditText with formatted numbers

    Is it somehow possible to have an EditText, holding decimal numbers, where the number shows as x decimals, but where the actual value (the value you get if you do edtTest.Text) remains at y decimals as when the value was set for that EditText? So, for example I do edtTest.Text = 12.1234 then the...

    Wish Past format

    Hello, I dont know if it would be usefull , or if that already exists but that i have not see With the designer tool, when a complicated layout creation i would get the "Past Format" button for copying the settings on all selected views (with same type) ? have a good week Regards
  4. A

    B4J Question Issue with Double format

    Hi Guys, When using a float to display a sales total I am using this to round the amount. StoreTotal=Round(StoreTotal * 100) / 100 It seems to work fine until I get a 0 in the last decimal place so 99.99 works fine, however 99.90 will display as 99.9 When I was using a float also with this...
  5. K

    Android Question Edittext Date format

    I have to validate date format for edittext. Like dont accept wrong date. ex. 50/07/2018 == not accepted or 21/25/2018