socket.io-android-chat
socket.io-android-chat copied to clipboard
is there a java server sample that can work with this project?
Hi, since I cannot join the chat.socket.io , I tried to use a simple java server sample to run this project. But it show these log when I emit login event:
2016-12-12 10:31:47.386 ERROR 582 --- [ntLoopGroup-3-4] c.c.socketio.JsonSupportWrapper : Can't read value: ["chatevent","{userName:gg}"] for type: class com.corundumstudio.socketio.protocol.Event
And I check the json android client submit , find out the source code wrapped everything with jsonarray as above and it cannot be mapped to a com.corundumstudio.socketio.protocol.Event class. Please help, how can I make it run?
Hi @machinezhou I am having a similar problem. Is it that you can't proceed from the login activity on your app with the default server chat.socket.io ?
@Lazarus118 yes and socket.io website is closed too.
https://github.com/socketio/socket.io/tree/master/examples/chat
I just do as the url said, and it work very well .