1

use node webkit to invoke alljoyn.js

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

dodolzg gravatar image

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

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
1

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

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

Comments

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

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

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 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

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

Seen: 55 times

Last updated: Nov 10 '15