Sensa Touch adds support for BlackBerry 10
Developers can now use Sencha Touch 2.1.1 to create amazing web applications that run fantastically well on the BlackBerry 10 browser.
Developers can use the new features in Touch 2.1.1 to build new BlackBerry 10 applications or port existing Sencha Touch apps over to run on the BlackBerry 10 platform.
BlackBerry has published a handy guide for porting applications.
Let’s have a look at some of the details of the new theme and the new components.
Once you download the latest version of Touch, if you want to check out the theme, you’ll need to enable it. As with all of the themes, in the resources/scss directory, there is a new “bb10.scss” file, which can be used to compile the theme from scratch. Of course, the compiled theme already exists in resources/css as bb10.css.
If you want to get up and running quickly, in examples/kitchensink/app.json, there’s a section of JSON you can uncomment (make sure to comment out the default app.css) to enable the BlackBerry 10 theme for the Kitchen Sink. Load it up in your browser, and you’ll see the Kitchen Sink look and behave like a BlackBerry application.
In addition to the BlackBerry 10 theme, there is included a new component that is central to building a BlackBerry user experience: the CrossCut menu. The Kitchen Sink, when viewed from the BlackBerry 10 browser automatically uses the CrossCut menu for navigation, but if you’re interested in using the component, it’s the new Ext.bb.CrossCut component (xtype: crosscut).
Build new apps for BlackBerry or port your existing apps, either way, Sencha Touch makes it easy to build to stay on top of device diversity and get to new platforms like BlackBerry 10 as fast as possible.