hi,
i have try this example: https://www.b4x.com/android/forum/threads/custom-websocket-based-push-framework.40272/
but i do not understand how to send parameters in the socket...
for example....
here put device_id to server but I find no reference to "Device_id" into server????
how to send this parameter?
the server as it receives?
thanks
i have try this example: https://www.b4x.com/android/forum/threads/custom-websocket-based-push-framework.40272/
but i do not understand how to send parameters in the socket...
for example....
B4X:
Sub wsh_ServerReady(Params As List)
Dim m As Map
m.Initialize
m.Put("id", id)
m.Put("version", VERSION)
wsh.SendEventToServer("Device_id", m)
End Sub
how to send this parameter?
the server as it receives?
thanks