80 likes | 214 Vues
This guide covers the development landscape for BlackBerry 10, highlighting the distinctions from BlackBerry OS. It delves into supported platforms, including Android and HTML5, as well as limitations such as unsupported APIs and widgets. Developers will learn about the need to repackage Android .apk files as .bar files and explore options like the Cascades framework for creating native apps with a modern look. Key development tools like the Ripple Emulator for debugging are also discussed, providing a comprehensive overview of building apps for BlackBerry 10.
E N D
March March March 2013 Last week Today
Android Java • Android 2.3.3 Runtime • Dalvik Virtual Machine • .apk needs to be repackaged as .bar • Some APIs not supported • Widgets not supported • Native extensions not supported • com.google.* packages not supported (this includes com.google.android.maps)
HTML5 • Webkit based engine • Cordova (phone gap), Sencha touch, • jQuery, and others supported • Native look given to apps with a • jQuery theme or bbui.js • Ripple Emulator for • debugging
Cascades • Based on Qt • Designed to give apps a “native” look • Combines a C++ backend with a • QML/JavaScript front end
Page{ Container{ Label{ id: myLabel text: "Hello, World!" } Button{ text: "Click me" onClicked: { myLabel.text = "Button Clicked" } } } }