B4J Question how should i communicate with noneui app From Terminal ?

Addo

Well-Known Member
Licensed User
Longtime User
i am running noneui TCP Server inside the terminal
i needed to know how could i send commands to the ui app to close it ?
as example currently i run it in
StartMessageLoop to keep it running .

B4X:
Sub AppStart (Args() As String)
    
Log("iam running")

StartMessageLoop

Log("Server Closed")
    
End Sub


how can i send command to call a sub to call StopMessageLoop to close it ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…