The latest version of the BlackBerry® WebWorks™ for smartphones SDK — v2.3.1 for Microsoft® Windows and Mac is now available for download. This update contains a number of significant improvements desired by the WebWorks developer community.
The BlackBerry WebWorks SDK for Smartphones v.2.3 introduced an improved navigation mode for trackpad based navigation, as well as new, native-looking dialogs for selections, date/time, and color picker. Thanks to your feedback, we found an issue where the back button would not always be recognized, and dialogs including the new native select dialogs might not get dismissed. This issue is addressed in this updated version 2.3.1 of the SDK.
In order to better align our smartphone and tablet SDKs for BlackBerry WebWorks, we have added the customAskAsync and standardAskAsync APIs to the smartphone SDK. This was made possible through the work that went into the native-looking select dialogs. These dialogs will allow the developer to create native dialog boxes requesting information from the user, but execution of your application code will not be blocked. With the addition of these asynchronous dialog APIs, we have marked the standardAsk and customAsk APIs as deprecated. Please move to use the new non-blocking dialogs.
NOTE: the handling of the parameters for the new customAskAsync and standardAskAsync is different between smartphone and tablet, so please refer to the API reference.
We have also fixed an issue where un-minified versions of some core framework files were being added to applications at the packaging step. This has been resolved to only include minified versions of framework code. Developers that packaged with 2.3 and that now repackage their apps with 2.3.1 should notice a decrease in the overall size of their application.
Finally, we fixed a small issue with the newly added config.xml setting. Now, if portrait is specified in the config.xml, the application will be locked where the top of the drawable area is the screen side closest to the BlackBerry logo. Short of adding support for both orientation and direction attributes, this seems like the most intuitive behavior.
Please check out the WebWorks development site to learn more about how you can leverage your web technology skills to build applications for our over 75 million smartphone subscribers and BlackBerry® PlayBook™ users.