MediaSignage support forum

community support => Internet Of Things => Topic started by: mfoody on March 05, 2019, 07:03:14 AM

Title: Messaging to a webpage running in node webkit
Post by: mfoody on March 05, 2019, 07:03:14 AM
Hi, I have a web page running in the webkit component on a common channel. I need it to respond to remote touch events. I fully control the web page, so I can put the message receiving code in it. Where might I find that code, and docs? Or said a different way, I have a web page running in node webkit as a separate process. Is there code available that can run in the web page to receive remote touch events?

Thx, Mike
Title: Re: Messaging to a webpage running in node webkit
Post by: admin on March 05, 2019, 08:05:42 AM
we have no such sample.

since socket is not allowed in webkit, what we can suggest you try this: your touch application will send the touch command to the server storing data and the webkit page polls the server for changes in the data - if it sees changes, it will then processes the data

best regards

-ADMIN