Hi all, I have downloaded the websocket project and have embedded into a test app for android, but I just need a pointer with the client/server side script (
B4J WebSockets client library)
I want to modify the sample script to just use jquery to inject data to the websocket connection instead of using the button that was provided in the demo.
I wish to send something like the above json using what i think is correct from the b4j_ws.js script which are raiseEvent and ws.send is this the correct way?
I had already installed the B4J client app and server and they work successfully, I just wanted to find a pointer to do away with the textbox and button used in the demo page /push/index.html and just use jquery to send to the client.
I've looked at the B4J and the B4A app and i cant find where the textbox and button are binding to the script as when I change the textbox name it displays null as expected?