I created an Node JS (using WebSocket) server for my client. I tested it with Javascript and it all works fine. But now I want to use that connection in my app. The connection uses the WS protocol (ws://) and the server sends messages while the connection is open.
My question is: how should I open an ws:// connection and read the incoming messages?
Thanks a lot
You will need a WebSocket client library for Android/Java. You might have a look at AutobahnAndroid.
Disclosure: I am original author of Autobahn and work for Tavendo.