December 09, 2023, 04:31:19 PM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://plus.digitalsignage.com

MediaSignage support forum



Author Topic: Messaging to a webpage running in node webkit  (Read 5020 times)

mfoody

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Messaging to a webpage running in node webkit
« 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

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5185
  • Karma: +36/-8
Re: Messaging to a webpage running in node webkit
« Reply #1 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

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines