This demo shows how to use the Lightstreamer JavaScript Client library and the the Samsung Smart TV SDK to create a simple streaming-enabled application
HTML JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
.gitattributes
.gitignore
LICENSE
README.md
SSmartTV-small.png
SSmartTV.png
config.xml
index.html
widget.info

README.md

Lightstreamer - Basic Stock-List Demo - Samsung Smart TV Client

This demo shows how to use the Lightstreamer JavaScript Client library and the Samsung Smart TV SDK to create a simple streaming-enabled application.

Screenshot

Details

This demo displays real-time last price data for 3 stocks, simulated Stock-List data is received from the Lightstreamer Server deployed @ http://push.lightstreamer.com.

The demo includes the following client-side functionalities:

Build

To build and run your own version of this demo, follow these steps:

Once ready, create in eclipse a new Samsung Smart TV JavaScript App Project and overwrite the resources of this project on those newly created.

Deploy

To run the demo, please right-click on the eclipse project and press Run As -> Run Current Project in Samsung Smart TV Emulator. The Emulator will be launched automatically and the demo will be deployed and started as soon as the emulator goes up.

You may run the demo against your local server instead of using our online server @ http://push.lightstreamer.com:80. The server to which the demo will connect to is configured in the app/javascript/Main.js file. In this case, the example requires that the QUOTE_ADAPTER has to be deployed in your local Lightstreamer server instance; the LiteralBasedProvider is also needed, but it is already provided by Lightstreamer server.

See Also

Lightstreamer Adapters Needed by This Demo Client

Related Projects

Lightstreamer Compatibility Notes

  • Compatible with Lightstreamer JavaScript Client library version 6.0 or newer.