3 ms·
Instead of using the system API you should start a nodejs process and have the web app communicate with it using websockets, and use the system api in the nodej
by z3t4 9y ago
Instead of using the system API you should start a nodejs process and have the web app communicate with it using websockets, and use the system api in the nodejs app. That way it will be easy to port your "native" app to different systems and you can use the same code on both web and native! You don't even need the runtime, just launch Firefox with the "-chrome" argument, or "--app=" in Chrome or "-k" in IE.