[
https://issues.apache.org/jira/browse/CB-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643732#comment-13643732
]
Filipe Cruz commented on CB-882:
--------------------------------
Am trying to get websockets working on Android, i found these 2 plugins for
older versions of phonegap:
https://github.com/FreakDev/PhoneGap-Android-HTML5-WebSocket
https://github.com/anismiles/websocket-android-phonegap
The later even claims that the code is being integrated into the phonegap
android core. But it appears by version 2.6.0 it still hasn't been integrate,
or atleast i can't find any documentation about it and calling "new
WebSocket()" just gives a "WebSocket is not defined" error.
No clue on how to integrate these plugins to work with the cli tools. i tried
it but ran into problems including the plugin packages to be recognized in the
"cordova build". am probably missing something obvious. will try to give it a
go again.
> Cross mobile socket support
> ---------------------------
>
> Key: CB-882
> URL: https://issues.apache.org/jira/browse/CB-882
> Project: Apache Cordova
> Issue Type: New Feature
> Components: Android, Bada, CordovaJS, WP7
> Reporter: Jordan Stout
> Assignee: Andrew Grieve
> Labels: features, socket, sockets
>
> I tested the use of socket.io in an iOS app and I was able to successfully
> communicate back and forth from mobile to desktop. All I did was grab the
> same socket.io script hosted from the node.js server (as a quick test)... Of
> course, this may be cool and all, but I'm not sure how "cross mobile" it is.
> How hard will it be to create native socket support for most (or all) devices
> so developers can talk to socket.io servers (or any other service) natively
> without including the socket.io client scripts?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira