The new BlackBerry® Widget SDK 1.0 Beta 2 consists of the BlackBerry Widget Packager 1.0 Beta 2, a BlackBerry smartphone simulator, the BlackBerry Email and Connectivity Simulator (this is an HTTP Proxy and is needed to develop widgets), documentation and code samples.

The BlackBerry Widget Packager 1.0 Beta 2 is a new tool that allows web developers to package up their web assets into BlackBerry Widgets (small, discrete, standalone web applications that use HTML, CSS and JavaScript®). A BlackBerry Widget looks, behaves and has the same security mechanisms as a native BlackBerry smartphone application. BlackBerry Widgets can be installed on a BlackBerry smartphone like any native application and extended to use device-specific information and data using the BlackBerry Widget APIs.

BlackBerry Widget SDK 1.0 Beta 2 Downloads

Development Tools

Each of the tools below needs to be downloaded before you can begin development. Note: if you installed the BlackBerry Widget SDK 1.0 Beta 1, please remove it before installing the Beta 2 version.

  1. Download and install the Sun Java® Application Development Kit. This is required software to compile the BlackBerry Widget. Minimum version of JDK 1.6 is required—if you have JDK 1.6 or higher already installed, you can skip this step
  2. Download and install the BlackBerry Widget Packager Beta 2
  3. View or download the BlackBerry Widget SDK Installation and Configuration Guide

Deployment Tool (only required when deploying on a physical device)

  • You’ll need a code signing key to enable your application to run on a physical device

Documentation

Videos

Sample Code

Tutorials (step-by-step instructions)

Labs (development guidance)

  • Create a push widget (ZIP) — A step-by-step example of how to create a widget that listens for pushed data
  • Create a GPS widget (ZIP) — Exercise in how to build a BlackBerry Widget that invokes the BlackBerry® Maps application for a selected location
  • Create a widget using PIM (ZIP) — How to build a BlackBerry Widget that displays contact information from the contacts database

BlackBerry Widget SDK 1.0 Beta 2 Additional Information

New Functionality for this Release

  • Combined both the BlackBerry smartphone simulator and BlackBerry Email and Connectivity Simulator into the same product bundle as the BlackBerry Widget Packager
  • Added the ability to choose which transport (e.g. Wi-Fi, BlackBerry® Enterprise Server, etc.), the order and timeout value
  • Ability to white list a wildcard to allow all outside domain content into your widget (Note: wildcard doesn’t allow for access to BlackBerry Widget APIs)
  • Top-level domains for white listing are no longer allowed
  • Bug fixing

Core Functionality

  • BlackBerry Widgets leverage the rendering capability of the 5.0 BlackBerry® Browser
  • Leverage Gears APIs for storage, location, multi-threading and more
  • Ability to specify Custom Header Addition to all communications for seamless blend between server and client content

Security

  • Ability to digitally sign the BlackBerry Widget using the COD signing mechanism
  • Definition of a domain white list with which the BlackBerry Widget is allowed to communicate
  • BlackBerry Widgets will be packaged the same way a native BlackBerry smartphone application is packaged and distributed via a website, the desktop manager or BlackBerry App World™, using the same security model and maintained just like native BlackBerry smartphone applications
  • All BlackBerry Widgets must be signed to ensure any BlackBerry Widget APIs will follow User Access Control policies

Support

To receive free support for the BlackBerry Widget SDK 1.0, email betadevsupport@rim.com