callback/callback-blackberry — pull request #2 by mwbrooks (2011-11-25 23:18:10+00:00)
Title: Add PlayBook Support

Hello everyone,

This is a generous contribution from RIM's WebWorks team, which adds PlayBook support to callback-blackberry.

The pull request is large and I've added a few additional commits that correct differences between version updates (because I was so slow at reviewing and merging this patch).

I'll be merging this work shortly, but I would appreciate someone else to test both the BlackBerry and PlayBook codebase.

### Testing

I've tested this application on both a BlackBerry 7 and PlayBook device.

### Command Line Usage

This also changes how a callback-blackberry application is built. The new approach is as follows:

# creating a project is the same

$ ant create -Dproject.path=example
$ cd example

# building a blackberry (handheld) application
$ ant blackberry load-device

# building a playbook application
$ ant playbook load-device

### PlayBook API

@jeffheifetz I've noticed that only a hand-full of the Callback APIs are supported on the PlayBook. For example, Notification's _Confirm_ and _Alert_ functions are support, but _Beep_ and _Vibration_ are not. Is this what you intended or have I messed up your patch?

### Additional Work

There is additional work that I would like to see done.

1. Simply `project.properties`
2. Update `README.md` with new command-line usage
3. Update the Wiki with new command-line uage
4. Review and cleanup `config.xml` because there are duplicate features.