-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android doesn't work when using web-socket-js #74
Comments
What happens when you try to connect? Client side, do you get any of the onopen/onclose/onerror events? Do you see any activity on the server? If you could provide a TCP capture (using a tool like tcpdump or WireShark) of the server side traffic, that would be really helpful. |
Turns out that even in the latest (ICS) release of Android that WebSockets aren't yet supported. Are they going to be in the future? Most likely, given Google's emphasis on webapps, but for the time being you're going to have to fall back to comet. I'm closing this issue as it's out of our hands. |
Just so you know...I thought this was to do with the Flash Policy File, as I'm using a Flash proxy on Android and native sockets on iOS. I've debugged this to the point that it hits the FlashPolicyFileDecoder and I'm getting the Open event, immediately followed by the Close event. I've using the websocket-js library .. https://github.com/gimite/web-socket-js |
That does change things slightly. Reopening this issue with the title updated. |
@geniuscodemonkey: Can you confirm that it works with the flash proxy on another deive, so we can determine if it's something Android specific or with web-socket-js. It would be helpful if you could either provide a TCP dump of the interaction, or a working example we could run. |
The release of Chrome for Android Beta (CFA from here on) does slightly change things here. It has all of the features of Chrome 16 (and some from 17) with a faster release schedule. If CFA ends up becoming the standard browser on Android, this ends up becoming a question of supporting Flash and this library. |
Tried websocket server on Android (Galaxy SII and Motorola Zoom) and both doesn't connect to websocket server. I've tried this on an iPad and Chrome on the PC and it works without issue :(
webServer = WebServers.createWebServer(port)
.add("/", this) // path to web content
.start();
(this implements WebSocketHandler).
The text was updated successfully, but these errors were encountered: