mobile-websocket-example
mobile-websocket-example copied to clipboard
Mobile websocket example
# it can post images?
Hello, I am trying to implement android client using this example. I have replaced the "ws://websockethost:8080" with my chat server url, But I am getting 07-24 12:28:06.208: I/Websocket(18294): Closed draft...
I am sending notification from the server using [websocketclient](https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?hl=en) chrome extension. When app is in foreground it works fine and below method is get executed. `- (void)webSocket:(SRWebSocket *)webSocket didReceiveMessage:(id)message {...
In the Android example, this method is not sending the message ``` public void sendMessage(View view) { EditText editText = (EditText)findViewById(R.id.message); mWebSocketClient.send(editText.getText().toString()); editText.setText(""); } ``` I get the following exception:...
Issue faced in this library :- When I write the correct port number, no method is called like onOpen(), onMessage() therefore, we cannot determine whether socket connection is established or...
I was just wondering, Shouldn't we be handling disconnections from the server as well throughout your activity life-cycle? If not, we're gonna end up with tons of connection as the...
'SocketRocket/SRWebSocket.h' file not found in WebSocketExampleClient for iOS 
When running the iOS client the `- webSocket: didCloseWithCode: reason: wasClean:` method is immediately executed with the reason being `Stream end encountered`. Interacting with the app does nothing afterwards, with...