1 Developing for the BlackBerry® Tablet OS Alan Wong Developer Relations | Asia Pacific Research In Motion [email protected]
Nov 02, 2014
1
Developing for the BlackBerry® Tablet OS
Alan Wong
Developer Relations | Asia Pacific
Research In Motion
2
Agenda • What is PlayBook?
• BlackBerry PlayBook Development
• BlackBerry WebWorks
• Native SDK
• Adobe AIR
• Runtime for Android Apps
• Resources & Support
4
Ground Breaking Speed! • Full computing power in a tablet
format
• 1 GHz dual core processor
• 1 GB Ram
Web Without Limits! • High fidelity WebKit browser
• Full Adobe® Flash® 10.1 support
• Built in HTML5 support
5
BlackBerry Amplified! • Pair the BlackBerry PlayBook with a
BlackBerry smartphone via secure
Bluetooth connection for full access to:
• Push technology
• Email, Calendar, BBM, Tasks, Docs
and more!
• BlackBerry security and data efficiency
BlackBerry Tablet OS • Powerful, user-friendly QNX
technology
• True multitasking
• Proven mission critical
reliability
6
Video Conferencing!
• Crystal clear HD display
• Rich stereo sound
• Dual HD cameras
Best-in-class media! • 3 MP high def front facing camera
• 5 MP high def rear facing camera
• Codec support for superior media
playback, creation and video calling
• 1080p HD video; H.264, MPEG4,
WMV
• HDMI video output
• Micro USB and Micro HDMI
7
Ultra Portable! • 7” LCD display, 1024x600 screen resolution
• 5.1” x 7.6” x 0.4” (130mm x 194mm x 10mm)
• 0.9 lbs (400g)
• Built-in Micro USB connector
• Multi-touch capacitive screen
• Wi-Fi® 802.11 a/b/g/n
Rich Application Ecosystem • Rapid development environment
• Reliable BlackBerry Tablet OS,
powered by QNX technology
• Supports POSIX OS, Open GL,
BlackBerry® 6, WebKit, Adobe Flash,
Java® and Adobe AIR
8
Development on BlackBerry PlayBook
PlayBook Development • BlackBerry WebWorks
• Native SDK
• Adobe AIR
• Android Packager
9
10
BlackBerry Native SDK
11
BlackBerry Native SDK
• Development toolset designed for developers who need full access to all that the PlayBook offers
• Gives you a set of C and C++ APIs that expose all the tools needed to create powerful and dynamic applications
• Native system APIs for the PlayBook’s screen, navigator, audio mixer, accelerometer, network, and even more
http://developer.blackberry.com/native
12
BlackBerry Native SDK
Who should use the Native SDK? Developers that need to: • Build high performance native apps
• Port existing C/C++ codebase
• Leverage open source libraries such as Box2D, Cocos2D-X, Qt, OpenAL and more
• Integrate with the Scoreloop SDK for social gaming
http://developer.blackberry.com/native
13
http://developer.blackberry.com/native BlackBerry Native SDK – Developer Site
14
http://developer.blackberry.com/native
• Native SDK
• PlayBook Simulator
Start coding!
BlackBerry Native SDK – Getting Started
15
Adobe AIR
16
Adobe Runtimes – Flash Player & AIR
ActionScript SWF BlackBerry PlayBook
Application (.bar)
AIR SDK Tablet OS SDK
Adobe Runtimes – Flash Player & AIR • Create the proper directory structure
• Create the app.xml file
• Package the SWF and app.xml file through the command line tool
• Deploy to your BlackBerry PlayBook!
PlayBook AIR SDK Capabilities
• Hardware acceleration
• Web View to display HTML and Flash content
• UI components built specifically for the touch screen
• APIs for front and rear facing cameras, accelerometer, in-app payments and more
18
PlayBook AIR SDK Capabilities
• Porting existing Adobe AIR and Flash applications quickly and easily
• Extend Adobe AIR applications to use native C++ extensions (coming soon)
19
20
BlackBerry Runtime for Android Apps
21
BlackBerry Runtime for Android Apps
• Allows Android applications (2.3 or below) to run on the BlackBerry PlayBook •Package existing Android binaries (.apk) into PlayBook binaries (.bar) using a variety of methods
• Test your Android applications using the Tablet OS 2.0 Simulator
• Distribute and monetize on App World!
• Packagers available:
• Eclipse Plug-in repackaging tool
• Online Packager
• Command-line repackaging tool
http://developer.blackberry.com/android
22
BlackBerry Runtime for Android Apps http://developer.blackberry.com/android
API Support/Compatibility (http://developer.blackberry.com/android/apisupport - Full listing) • Unsupported Hardware Features
• Telephony (including SMS and MMS) • Bluetooth • NFC
• Unsupported Software Features • Android Native Code • Android Vending (In app payments) • Cloud to Device Messaging (Push) • Google Maps
• Use the verify tool to detect unsupported APIs • Test your Android application thoroughly on the PlayBook to ensure minimal impact in missing functionality
23
BlackBerry Runtime for Android Apps
Getting Started
1. Download one of the available packaging tools
2. Run the verify tool to ensure that your existing Android app is fully compatible
3. Package your Android app into a PlayBook app with just a click of a button!
http://developer.blackberry.com/android
24
BlackBerry Tablet OS Simulator
BlackBerry Tablet OS Simulator
25
• Latest 1.0.7 Tablet OS support
• Supports swipe gestures
• Network connectivity
• Test your Native, WebWorks, or AIR app today!
BlackBerry Tablet OS Simulator
26
• http://us.blackberry.com/developers/tablet/devresources.jsp
• Installers, recorded webcasts, documentation, examples, etc.
• Downloadable ISO image
• Windows – VMWare Player
• Mac – VMWare Fusion
BlackBerry Tablet OS Simulator
27
28
Resources & Support
• BlackBerry Developer website http://www.blackberry.com/developers
• WebWorks – http://developer.blackberry.com/html5
• Native – http://developer.blackberry.com/native
• Android – http://developer.blackberry.com/android
• BlackBerry Developer Forum
• http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/bd-p/tablet
• BlackBerry Developer Blog
• http://devblog.blackberry.com/ 29
Resources & Support
30
Thank you!