Phonegap (1.7.0) + node.js + socket.io

I am trying to create an Android application (v.4.0.3) with Phonegap (Cordova 1.7.0) , Node.js (v0.6.18) and Socket.io (v0.9) on the other hand. I need to do this for my school project, but I hit a wall due to my limited knowledge. I even thought socket.io could not be used in Phonegap (Android). Can I get some directions, a link or other help so that I can establish a connection. Connection is a major issue. The documentation does not help me.

I would really appreciate some advice on how to establish a connection. I installed node inspector but nothing. Server.js runs on a micro-instance of Amazon EC2 on port 8080. I read somewhere that Android does not support websockets.

But isn't it true that Phonegap actually grabs the entire HTML page and packs it to run as a native application in UIWebView or WebView?

So, in this case, this is a web kit. And it supports websockets, if I'm not mistaken.

Hi,

Tomaz

+3
source share
2 answers

There is a Phonegap plugin for websites.

+2
source

3 . node.js cordova/phonegap Android iOS, . jxcore-cordova

0

All Articles