Am I doing something wrong here? its' not working, keeps logging timesRun as 1
(this code is in Main Sub Activity_Create)
It's me, it must be me
(this code is in Main Sub Activity_Create)
B4X:
If FirstTime = True Then
Dim tr As Int
If StateManager.GetSetting("timesRun") <> "" Then
tr = StateManager.GetSetting("timesRun")
tr = tr + 1
Else
tr = 1
End If
StateManager.SetSetting("timesRun", tr)
Log("Times Run " & tr)
End If
It's me, it must be me