Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Android support WebSockets in an upcoming version?

If so, does anybody know which version it's scheduled to be supported in (in built-in Chrome Lite browser)? Also, is it currently supported on any of the alternative browsers for Android like FireFox or Opera Mini?

like image 755
Pat Gannon Avatar asked Oct 18 '10 22:10

Pat Gannon


People also ask

Can we use WebSockets in Android?

The WebSocket protocol paved the way to a truly realtime web. At the time of writing this article, the Android SDK does not have native support for WebSockets. However, it relies on the Java Development Kit (JDK), which includes support for WebSockets as part of javax. websocket package.

Does mobile support WebSockets?

WebSocket, as an IETF standard, and with a W3C browser API, is fully supported by all modern browsers: Chrome 16 + (incl. Chrome for Android)

What will replace WebSockets?

WebTransport is a new specification offering an alternative to WebSockets. For applications that need low-latency, event-driven communication between endpoints, WebSockets has been the go-to choice, but WebTransport may change that.

Are WebSockets outdated?

Websockets are largely obsolete because nowadays, if you create a HTTP/2 fetch request, any existing keepalive connection to that server is used, so the overhead that pre-HTTP/2 XHR connections needed is lost and with it the advantage of Websockets.


1 Answers

Will Android support WebSockets in an upcoming version?

Probably, given Google's HTML5 emphasis.

If so, does anybody know which version it's scheduled to be supported in (in built-in Chrome Lite browser)?

Google does not publish that sort of detail in advance of releases. Hence, you'll know about it when it ships, not sooner.

Also, is it currently supported on any of the alternative browsers for Android like FireFox or Opera Mini?

Firefox Mobile's FAQ does not list it among the HTML5 features it presently supports. I have no idea about other browsers.

like image 80
CommonsWare Avatar answered Sep 19 '22 12:09

CommonsWare