stringutils

  1. gezueb

    Android Question Problem with String Utils save CSV file

    Hi, my app collects values from the user, adds them to a history list and a history table (table module) and then should save the table. However, the save crashes with a java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[] Here is the relevant portion of the...
  2. epiCode

    Android Code Snippet [B4X] Calculate width of Charsequence Text

    Calculate width of Charsequence Text Uses Java Function measureText(charSequence , int Start, int End) ' textSize is default textsize of label where charsequence is displayed Sub getWidthofCS(cx As Object,textSize As Float) As Float Dim jo As JavaObject = Me Return...
  3. MList

    Android Question B4X Load .csv file from download folder

    Hi, i would like to import and export a .csv file (build from B4xtabledata) directly to the Download Folder. With su.save i can't put it directly to the download folder, so i did SaveAs afterwards. So the user has to save the file 2 times, he doesn't know why. Is there any other possibility? The...
  4. A

    Android Question StringUtils EncodeURL problem

    Hi all. I'm using StringUtils EncodeURL both in B4A and B4I. It returns me different result for encoding the same string The same code for both b4a and b4i Sub Button1_Click Try Dim str As String,strEnc As String Dim su As StringUtils str="12 -...
Top