Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - HTML5 WebSocket app using a Qt "chromeless" browser: (1 Item)
   
HTML5 WebSocket app using a Qt "chromeless" browser  
I have posted a web application - utilizing HTML5's WebSocket - which runs in the "webvu" Qt application presented 
previously.  

WebSocket allows a “persistent connection” between target and browser so there is no polling.  Both the host and the 
target may transmit data on an open socket with little latency - perfect for control appliications.

The app ("webEasy") is pre-configured into the i.mx53 and Beagle xM demo images.  SInce it is a web app, it can be 
viewed both on the target display via webvu, AND via external browsers including:

•	desktop versions of Chrome, Safari and Firefox 
•	Blackberry BB7 (9900)  smartphones 
•	Android smartphones (only very recent software – Ice Cream Sandwich?)
•	Playbook (v2.x)

The key part of the solution is a webserver named "websock5" which is written in C.  Included with the tutorial is an 
IDE workspace archive for websock5 which allows you adapt the server to any client Javascript you may write.

The application tutorial and archive are here:            http://dl.dropbox.com/u/13676760/qtHtml5.pdf.  
http://dl.dropbox.com/u/13676760/websock5_ide.zip

You can try webEasy by downloading the SDcard image which matches your target:

For i.mx53 QSB with VGA output:
    http://dl.dropbox.com/u/13676760/qnx_mx53.zip
    http://dl.dropbox.com/u/13676760/qnx_mx53.pdf
 
For i.mx53 QSB with 4.3" LCD/touch panel:
    http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.zip
    http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.pdf
 
For i.mx53 Beagleboard xM with hdmi output:
    http://dl.dropbox.com/u/13676760/ qnx_bglxm.zip
    http://dl.dropbox.com/u/13676760/ qnx_bglxm.pdf