cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Cruz (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-882) Cross mobile socket support
Date Sat, 27 Apr 2013 22:12:16 GMT

    [ https://issues.apache.org/jira/browse/CB-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643813#comment-13643813
] 

Filipe Cruz edited comment on CB-882 at 4/27/13 10:11 PM:
----------------------------------------------------------

Managed to get it working. Was just me being stupid with line order. The update is on my github.
Added some more clear instructions on how to install.

Also tried to have a go at transforming it into an "extends CordovaPlugin" class but failed
to figure out how to assign the onopen, onmessage, onerror, onclose listener functions to
javascript.

If anyone who knows more on phonegap plugins then me wants to have a go, it would be nice
to have this available on cordova-cli official list of plugins.
                
      was (Author: psenough):
    Managed to get it working. Was just being stupid with the order. The update is on my github.
Added some more clear instructions on how to install.

Also tried to have a go at transforming it into an "extends CordovaPlugin" class but failed
to figure out how to assign the onopen, onmessage, onerror, onclose listener functions to
javascript.

If anyone who knows more on phonegap plugins then me wants to have a go, it would be nice
to have this available on cordova-cli official list of plugins.
                  
> 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

Mime
View raw message