B4J Question Program terminated (StartMessageLoop was not called).

mo4j

New Member
i have a non ui app and i started the message loop dont know what the error comes from ???? any help ?!!!!
 

KMatle

Expert
Licensed User
Longtime User
A non-ui app behaves like a script, it executes the code ONCE. The message only says that it does so. No problem. If you need an app which is running/waiting for events (like starting OKHttpUtils jobs) then just add

B4X:
StartMessageLoop

in AppStart which causes the app to run until your terminate it or use StopMessageLoop
 
Upvote 0
Top