30
1 Developing for the BlackBerry® Tablet OS Alan Wong Developer Relations | Asia Pacific Research In Motion [email protected]

"Developing for The BlackBerry Tablet OS"

Embed Size (px)

DESCRIPTION

Alan Wong, Developer Relations, Asia Pacific, The BlackBerry ® Developer Day in Bangkok ,22 November 2011, Software Park Thailand.

Citation preview

Page 1: "Developing for The BlackBerry Tablet OS"

1

Developing for the BlackBerry® Tablet OS

Alan Wong

Developer Relations | Asia Pacific

Research In Motion

[email protected]

Page 2: "Developing for The BlackBerry Tablet OS"

2

Agenda • What is PlayBook?

• BlackBerry PlayBook Development

• BlackBerry WebWorks

• Native SDK

• Adobe AIR

• Runtime for Android Apps

• Resources & Support

Page 3: "Developing for The BlackBerry Tablet OS"
Page 4: "Developing for The BlackBerry Tablet OS"

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

Page 5: "Developing for The BlackBerry Tablet OS"

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

Page 6: "Developing for The BlackBerry Tablet OS"

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

Page 7: "Developing for The BlackBerry Tablet OS"

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

Page 8: "Developing for The BlackBerry Tablet OS"

8

Development on BlackBerry PlayBook

Page 9: "Developing for The BlackBerry Tablet OS"

PlayBook Development • BlackBerry WebWorks

• Native SDK

• Adobe AIR

• Android Packager

9

Page 10: "Developing for The BlackBerry Tablet OS"

10

BlackBerry Native SDK

Page 11: "Developing for The BlackBerry Tablet OS"

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

Page 12: "Developing for The BlackBerry Tablet OS"

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

Page 13: "Developing for The BlackBerry Tablet OS"

13

http://developer.blackberry.com/native BlackBerry Native SDK – Developer Site

Page 14: "Developing for The BlackBerry Tablet OS"

14

http://developer.blackberry.com/native

• Native SDK

• PlayBook Simulator

Start coding!

BlackBerry Native SDK – Getting Started

Page 15: "Developing for The BlackBerry Tablet OS"

15

Adobe AIR

Page 16: "Developing for The BlackBerry Tablet OS"

16

Adobe Runtimes – Flash Player & AIR

Page 17: "Developing for The BlackBerry Tablet OS"

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!

Page 18: "Developing for The BlackBerry Tablet OS"

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

Page 19: "Developing for The BlackBerry Tablet OS"

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

Page 20: "Developing for The BlackBerry Tablet OS"

20

BlackBerry Runtime for Android Apps

Page 21: "Developing for The BlackBerry Tablet OS"

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

Page 22: "Developing for The BlackBerry Tablet OS"

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

Page 23: "Developing for The BlackBerry Tablet OS"

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

Page 24: "Developing for The BlackBerry Tablet OS"

24

BlackBerry Tablet OS Simulator

Page 25: "Developing for The BlackBerry Tablet OS"

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!

Page 26: "Developing for The BlackBerry Tablet OS"

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

Page 27: "Developing for The BlackBerry Tablet OS"

BlackBerry Tablet OS Simulator

27

Page 28: "Developing for The BlackBerry Tablet OS"

28

Resources & Support

Page 29: "Developing for The BlackBerry Tablet OS"

• 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

Page 30: "Developing for The BlackBerry Tablet OS"

30

Thank you!