I will show number in label but don't work
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim lib As Label
Dim st As String
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
lib.Initialize("lib")
Activity.AddView(lib,5%x,5%y,80%x,90%y)
lib.TextSize = 20
lib.Color = Colors.DarkGray
lib.Gravity = Gravity.CENTER
For i=0 To 9999
st= i
lib.Text = st
Log(i)
Next
End Sub