Skip to content

This is a sample web application for webOS. You can learn about how to use websocket in web application and how to use lunaservice api for web application.

License

Notifications You must be signed in to change notification settings

webos-ose/websocket_sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websocket_sample

This is a sample web application for webOS. You can learn about how to use websocket in web application and how to use lunaservice api for web application.

This sample is not incluing websocket server. If you want to run this sample application completely, you must have or know an websocket serverenvironment.

Setting CLI and environment

You have to install CLI and set environment before packaging, installing and launching.

Modifying application

You have to modify websocket server's URI on websocket.js before packaging your application.

Packaging application

You can make a package this application using CLI commend

websocket_sample$ ares-package .

Installing application

You can install application package to webOS. The target is a name of device.

websocket_sample$ ares-install -d target com.sample.websocket_1.0.0_all.ipk

Launching application

You can run the application remotely.

websocket_sample$ ares-launch -d target com.sample.websocket

Debugging application

You can debug the application using CLI command

websocket_sample$ ares-inspect -d target com.sample.websocket

About

This is a sample web application for webOS. You can learn about how to use websocket in web application and how to use lunaservice api for web application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.3%
  • HTML 11.0%
  • CSS 10.7%