Sencha Touch 2
Benefits of using Sencha Touch 2
- Tab panels
- Nested lists
- Navigation views
- Form controls
- Data management: Sencha Touch 2 translates JSON objects to Model objects automatically. This enables you to feed in different types of data sources or destinations. You have the option to use JSON, JSONP, AMF, and SOAP out-of-the-box.
- Offline capabilities: APIs are available to provide offline data storage functionality that is based on HTML5 local storage and session storage mechanisms.
- AJAX support: Full AJAX support, including CORS and JASON-P.
- DOM support: Support for manipulating HTML and XML using the DOM-related methods.
- Feature detection: Automatic detection of features such as geolocation, canvas, and orientation.
- Touch events: Support for a full range of touch events and gestures such as tap, swipe, and pinch.
Support for Sencha Touch on the BlackBerry Application Platform
Sencha Touch 2.1 is supported on devices that run the BlackBerry 10 OS . The 2.1 version addresses some of the performance-related issues that might have affected BlackBerry apps that were built using the 2.0 version and had complex nested layouts.
The performance improvements in Sencha Touch 2.1 result from changes to the DOM structure and additional CSS rules to help the browser render complex layouts better, without making any changes to the APIs. If you built your app using Sencha Touch 2.0 and used custom CSS, consider reviewing those CSS selectors if you are updating your app to Sencha Touch 2.1.
Applying the BlackBerry theme
Sencha Touch can detect a mobile device platform automatically and loads the appropriate theme. Sencha Touch 2.1 contains a predefined theme for the BlackBerry 10 OS, so it lets you automatically apply a look and feel to your apps that is native to the BlackBerry 10 OS, in addition to applying your own styles. You can download the beta theme for BlackBerry 10 from the following webpage: http://www.sencha.com/blog/introducing-sencha-touch-2-1-and-more/
Packaging, testing, and debugging your BlackBerry 10 app
You must package your app for the BlackBerry 10 OS before you can deploy your app on a BlackBerry simulator or a device. You can package, test, and debug your app using the BlackBerry 10 WebWorks SDK.
Last modified: 2014-10-09