1. Developing for the
BlackBerry® Tablet OS
Alan Wong
Developer Relations | Asia Pacific
Research In Motion
alawong@rim.com
1
2. Agenda
• What is PlayBook?
• BlackBerry PlayBook Development
• BlackBerry WebWorks
• Native SDK
• Adobe AIR
• Runtime for Android Apps
• Resources & Support
2
3.
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
4
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
5
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 6
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
7
11. BlackBerry Native SDK
http://developer.blackberry.com/native
• 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
11
12. BlackBerry Native SDK
http://developer.blackberry.com/native
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
12
17. 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!
AIR SDK Tablet OS SDK
ActionScript BlackBerry PlayBook
SWF
Application (.bar)
18. 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
19. 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
21. BlackBerry Runtime for Android Apps
http://developer.blackberry.com/android
• 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
21
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
22
23. BlackBerry Runtime for Android Apps
http://developer.blackberry.com/android
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!
23
25. BlackBerry Tablet OS Simulator
• Latest 1.0.7 Tablet OS support
• Supports swipe gestures
• Network connectivity
• Test your Native, WebWorks, or AIR app
today!
25
26. BlackBerry Tablet OS Simulator
• http://us.blackberry.com/developers/tablet/devresources.jsp
• Installers, recorded webcasts, documentation, examples, etc.
• Downloadable ISO image
• Windows – VMWare Player
• Mac – VMWare Fusion
26