Sample Apps for PlayBook

Preview for animation sample

Alice.js

Animation

Alice.js - Is a micro JavaScript library focused on using hardware-accelerated capabilities in modern browsers for generating high-quality, high-end visual effects.

See the sample code ›
Preview for config.xml sample

Remote File Access

Config.xml White List

Learn how to avoid some development pitfalls when creating an HTML5 application using WebWorks.

Go to the tutorial ›
Preview for Quick Refreshes tutorial

Avoiding Recompiles

Quick Refreshes

Learn how to set up your development environment to avoid having to recompile your app after making a code change.

Go to the tutorial ›
Preview for WebGL sample

3D Graphics

WebGL Samples

Check out the WebGL samples for PlayBook 2.0 which are packaged as HTML5 apps using BlackBerry WebWorks. One included sample is Tunnel Tilt which is a fully functioning WebGL game complete with lighting effects and sound.

See the sample code ›
Preview for HTML5 Canvas sample

SketchPad

HTML5 Canvas

Learn how to use the HTML5 Canvas element, through code snippets, within the SketchPad application.

Go to the tutorial ›
Preview for Weather Application sample

Weather Application

Database & Geolocation

View a complete WebWorks enabled HTML5 sample application with full source to the UI, application logic and JavaScript extensions used.

See the sample code ›
Preview for Payment sample

Payment

Monetize Content

This sample demonstrates how to use the WebWorks enabled BlackBerry Payment Service in an HTML5 application.

See the sample code ›