format

  1. stevel05

    B4J Library JSON Formatter and validator

    I am working on an app that needs to be able to manipulate JSON strings. They are stored in a compact format then prettified for display and editing. The main problem I have found is that if the json is invalid, it can't be prettified with the existing JSON lib. I found this project on github...
  2. MList

    Android Question Save Text and picture

    Hi, This is more a general question. I am developping the software for a measuring device. Now i have got the measured values ( a table with number, date,time,unity.. ) and a photo where you can mark the position of the measured value. That works all fine.. Now I want to save a file with both...
  3. behnam_tr

    B4J Question [XLutils] how set cell format to Text ??

    in XLutils how set cell format to Text ?? i want to write and read phone number like this : 0914****** , 0933***** , ...... after save when i want to edit phone number in excel file it changed to 914*****,933***** After editing, I can not add the number '0' to the first of the phone number...
  4. M

    Android Question how to format date and time columns in B4XTable

    I work on the application, which should be used by Parkinson ill people to enter their good and bad times (on and off times). Ich have three columns in the sqlite database. In the first column the date is being saved, in the second one the time of the day. In the third the number should be...
  5. 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("[email protected]") = True Then Log("E-Mail is valid") Else...
  6. 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...
  7. ALBRECHT

    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
  8. 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...
  9. 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
Top