I'm toward the end of Erel's tutorial on Codes Modules and Classes. My B4A program can't understand StartMessageLoop which is easily added to Erel's code with B4J. I don't know how to declare StartMessageLoop or perhaps I need to activate a library which might allow it.
Any ideas?
Thanks
B4X:
'Non-UI application (console / server application)
Sub Process_Globals
Private Stack1 As Stack
Private timer1 As Timer
End Sub
Sub Activity_Create(FirstTime As Boolean)
Stack1.Initialize (Me, "Stack1")
Stack1.push(1).Push(2).Push(3)
Do While Stack1.Size > 0
Log(Stack1.Pop)
Loop
Stack1.Name = "aaa"
StartMessageLoop
End Sub
Sub Stack1_StackEmpty
Log("stack is empty...")
End Sub
Sub Globals
End Sub
Yes thanks Don I indeed am trying to follow along with the B4A. Don and Erel: Is there some better way to learn and follow along with my B4A tutorials? I don't know of many B4A tutorials; perhaps you know of a better method to learn.
Thanks Erel. Is there some better way to learn and follow along with my B4A tutorials? I don't know of many B4A tutorials; perhaps you know of a better method to learn. Maybe you think I should be patient and hang in there with the 32 tutorials.