Anyone successful in implementing a WebSocket Server for Android? -


i'm trying implement both websocket client , websocket server on same android device. have 2 android apps need communicate. i've implemented couple of test apps using localsockets successfully, target client side app web browser app can use websockets.

i've tried https://github.com/tootallnate/java-websocket implementation. have client app running in foreground , server app running in android service in background. essentially, i've taken localsocket implementations works , replaced localsockets tootallnate's websockets. appears websocket server failing start. obvious symptom client side throws notyetconnectedexception every time tries send something.

another symptom if try use websocketserver.run() instead of websocketserver.start() ioexception serversocketchannel.open().

any ideas welcome @ point. thanks!

try websocket , socket.io android? https://github.com/koush/android-websockets


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -