I have a Map with String keys and each value is a List of a custom type.
I'm iterating through the Map keys and values and need to remove keys and List values at some point.
I want to do:
B4X:
Type FileInfo( _
FileName As String, _
LastModified As Long _
)
Private FilesMap As Map...
Hi,
Today I was trying to run the SlidingDrawer example. It didn't compile and this is the log:
Main - 34: Undeclared variable 'actoolbarlight1' is used before it was assigned any value.
Main - 33: Undeclared variable 'toolbarhelper' is used before it was assigned any value.
Main - 30...
I use JdbcResultSet to read data from SQL database, I'm making a search dialog box to filter data, i want to add quotes to search-criteria according to its type like
B4X:
if field.type = text then
strSearch = ("'" & value & "'" )
else
strSearch = (value)
end if
I tried IsNumber...
I insert column values in a B4xtable Column_type_Date with ticks.
When insert a value = 0 or null I always have 01-01-1970 on the B4xtable column value.
How display a empty column date value when the date is null ?
ادامه مطلب...
Hello,
What's an good method to pass a value to a php based backend?
I have the .download & .post options via the HttpJob class but ...
I can't seem to concat a value to the url string in B4R for the download option
I don't know what this payload array is for the post option.
Should I pass...
It would be useful if bars could be coloured based on their value.
For example, assuming the max Y value is 100, bars with value 0-49 could be green, 50-74 could be yellow, 75-100 could be red.
Regards
Joe
ادامه مطلب...
I have few B4XSwitch views in the customlistview.
How can i read each B4XSwitch value.
My code doesn't work.
B4X:
If v Is B4XSwitch Then
Dim xs As B4XSwitch =v.tag
strPost= Listview1.GetValue(i) & "=" & xs.Value & "&" & strPost
End If
ادامه مطلب...
I have a .wav file in my 'Files' folder which is a camera click.
I have this sub from another link on this site:
PlaySound:
Sub PlayRecording
Dim ret As Int 'Used in call to Pool.Play. ret = 0 if error occurs
Dim PoolID As Int 'Identifies the Pool number when a sound file is loaded...
Buongiorno a tutti. Sono sempre intento a fare prove per acquisire familiarità con questo bellissimo ambiente per sviluppare app che ho scoperto solo da qualche giorno.
Stavo per chiedere se esistesse una specie di Help (come per il VB) che indicasse per ogni oggetto le relative proprietà...
Ola
I've been wondering why my validation has not been working whilst my form actually has values. The record is read as a map record. So for example, Femication Required Yes = 0, the rest the same methodology. My validation is global, it gets the map values, gets the default values and if a...
Hello Guys,
I am looking for an option to write a value in my BLE modules from a SeekBar, but can't make it work.
My try:
in Main I have:
B4X:
Sub SeekBar1_ValueChanged (Value As String, UserChanged As Boolean)
Label4.Text= Value
perc=Value
End Sub
Sub ButtonLedPorcentaje_Click...
When designing or working with amplifier and filter circuits, some of the numbers used in the calculations can be very large or very small. For example, if we cascade two amplifier stages together with power or voltage gains of say 20 and 36, respectively, then the total gain would be 720...
Hi there,
I am new to B4A so please bear with me. I have a customlistview which has items in it. I am trying to make it so that if a user clicks on an item, it will be able to retrieve all details about that item (The text and value). I have got the value, but I've got no idea about how to find...