I would like tto use the "famous" ConnectAndReconnect subroutine in a B4J Non-UI application
https://www.b4x.com/android/forum/threads/b4x-mqtt-connect-reconnect.80815/#content
If I create a standard B4J program, it connects immediatly
If I create a Non-UI B4J (Console) program, it does not connect and stays handing after
(The subroutine is placed in a class).
What could block the connexion ?
https://www.b4x.com/android/forum/threads/b4x-mqtt-connect-reconnect.80815/#content
If I create a standard B4J program, it connects immediatly
If I create a Non-UI B4J (Console) program, it does not connect and stays handing after
B4X:
Wait For Mqtt_Connected (Success As Boolean)
What could block the connexion ?