Which may be the best solution for this example (using a server B4J):
many poker tables "connected" to the server;
a player raises x$;
I guess I have to make a call similar to this from the example "Upload files from your app to your B4J B4A server over the internet":
replacing the txtMessage.Text with some text-command,
and then manage everything on server through those "Handler" (classes).
But maybe I should use: Custom WebSocket Based Push Framework
or a different more complete solution (Erel was referring to the creation of an API for the application).
Thanks in advance for your answers
many poker tables "connected" to the server;
a player raises x$;
I guess I have to make a call similar to this from the example "Upload files from your app to your B4J B4A server over the internet":
B4X:
PrivateSub btnSendMessage_Click
Dim j As HttpJob
j.Initialize("msg", Me)
j.PostString(ServerLink & "?type=text", txtMessage.Text)
End Sub
replacing the txtMessage.Text with some text-command,
and then manage everything on server through those "Handler" (classes).
But maybe I should use: Custom WebSocket Based Push Framework
or a different more complete solution (Erel was referring to the creation of an API for the application).
Thanks in advance for your answers