B4J Question First Time for B4J

racleta31

Member
Hello

I have to check if it is the first time an activity is started. Something like the FirstTime boolean in B4A.

Thank you!
 
Tip: don't use activities in B4A. Switch to B4XPages and everything will be simpler.

B4XPages project:
Code: Copy
'B4XMainPage:
Private Sub B4XPage_Created (Root1 As B4XView)
 Log("This code will only be executed once when the program starts")

Non-B4XPages project in B4J:
Code: Copy
Sub AppStart (Form1 As Form, Args() As String)
Log("This code will only be executed once when the program starts")
 
Upvote 0
Back
Top