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...
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
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?
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
Dim str As String,strEnc As String
Dim su As StringUtils