use node webkit to invoke alljoyn.js

asked 2015-11-09 23:12:46 -0700

dodolzg gravatar image

updated 2015-11-10 00:17:32 -0700

Hi, all,

I want to let PC interact with moblie directly, including Andriod and iOS. On PC, I will use node webkit to invoke alljoyn.js.

I read the document here: https://allseenalliance.org/framework... , js is executed by:./alljoynjs --name my_js --nvarm-file ajtcl.nvram --log-file log.txt --daemon my_script.js.

How should I use node webkit to invoke alljoyn.js?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-10 02:22:25 -0700

praveenb gravatar image

As can be seen from here, AllJoyn.js works with Duktape JavaScript interpreter. AJ.js bindings are not compatible with node.js. For additional information, please refer to this e-mail thread.

edit flag offensive delete publish link more


Thanks. BTW, there is AllJoyn Core JS API, is it compatible with node webkit?

dodolzg ( 2015-11-10 03:00:22 -0700 )edit

Unfortunately, no. allseen/core/alljoyn/alljoyn_js is a binding that allows AllJoyn functionality to be loaded in a browser as an NPAPI plugin. Once the plugin is loaded, Javascript applications running on browser can communicate with other AllJoyn applications.

praveenb ( 2015-11-11 14:17:29 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-11-09 23:12:46 -0700

Seen: 54 times

Last updated: Nov 10 '15