WebWorks is an HTML5 based platform created by Research In Motion for building applications for BlackBerry SmartPhones and Tablets. This platform enables developers to build standalone applications that run on phones and tablets using web technologies like HTML5, CSS3 & JavaScript.
BlackBerry WebWorks provides a platform for developers to create applications as easily as creating websites using technology they are already familiar with.
Using HTML, CSS & JavaScript developers can rapidly build applications from business apps to games and incorporate everything the Web has to offer, as well as integrate features from the device itself.
In addition to standard web features developers can access (with permission from the end user) the filesystem, device information, camera, microphone, sms, gps, address book, calendar, phone, advertizing services, payment services, accelerometer, BBM, custom dialogs and much more.
WebWorks apps can also take advantage of existing frameworks that developers may be familiar with like jQuery Mobile, Sencha, PhoneGap etc.
Documentation: https://bdsc.webapps.blackberry.com/html5/documentation