Simple stocklist demo application showing integration between the BlackBerry 10 WebWorks SDK and the Lightstreamer JavaScript Client.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Lightstreamer - Basic Stock-List Demo - BlackBerry (WebWorks) Client

This demo shows how to use the Lightstreamer JavaScript Client library and the BlackBerry 10 WebWorks SDK to create a simple streaming-enabled application.



Real-Time simulated Stock-List data is received from the Lightstreamer Server deployed @


There are different ways to convert an Html application to run on BlackBerry 10. This README will focus on the use of the command line tools. Feel free to check the other possibilities

Once ready, position the command-line to this project folder.

Being $BB_HOME the folder where you installed the WebWorks SDK, run

$BB_HOME/bbwp stocklist -o output

An output folder will be created containing the results of the packaging; there will be two bar files, one to be used with the simulator, the other to be used with actual devices.

Run the Demo

Start the BlackBerry 10 Simulator and take note of the IP address (check the bottom-left of the window the simulator is in)

Being $BB_HOME the folder where you installed the the WebWorks SDK and $IP the IP address of the simulator, run

$BB_HOME/dependencies/tools/bin/blackberry-deploy -installApp $IP output/simulator/

The app icon will appear on the simulator home screen.

See Also

Lightstreamer Adapters Needed by This Demo Client

Lightstreamer Compatibility Notes

  • Compatible with Lightstreamer JavaScript Client library version 6.0 or newer. drop here require.js and lightstreamer.js