B4J Question b4j_raiseEvent(eventName, parameters) - Call with Map?

lip

Active Member
Licensed User
Longtime User
I have a B4J server using Websockets and have no problem communicating both ways with Android Tablets using B4A and Rasberry Pi's using B4J with wsh.RaiseEventToServer(eventName as String, Parameters as Map).

However, I am struggling to call the same Events on the server from a web browser written in HTML with Javascript. The server detects my Parameters as a single Integer rather than a Map.

I guess this is more a JavaScript question than B4J, but how should I create a suitable object to pass as parameters to b4j_raiseEvent(eventName, parameters)?
 
Top