45
The views expressed in this presentation do not necessarily reflect the views of AT&T. 1 Building Applications for Launch of the New BlackBerry 10 Platform Larry McDonough Principal Evangelist, BlackBerry @LMCDUNNA

Att dev summit_2013_building_bb10_apps_larry

Embed Size (px)

DESCRIPTION

Six reasons you should consider building apps for BlackBerry 10. I presented this at the AT&T Developer Summit. I did the whole presentation and demos directly from my BlackBerry Z10 device.

Citation preview

Page 1: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

1

Building Applications for Launch of the New BlackBerry 10 Platform

Larry McDonoughPrincipal Evangelist,BlackBerry@LMCDUNNA

Page 2: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

I Know What You’re Thinking…

http://techniety.blogspot.com/2012/10/misconceptions-about-blackberry.html

Page 3: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Who Is This Guy?

LarryMcDonough

PrincipalEvangelist forBlackBerry

@LMCDUNNA

Page 4: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Session Overview• What is BlackBerry 10?

• 6 Reasons you should care

• Seeing is Believing! Demo of User Experience

• Enterprise device or Consumer?

• Demo of BlackBerry Balance

• Developer Options: How do I get my apps on BlackBerry 10?

http://developer.blackberry.com4

Page 5: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

What Is BlackBerry 10?• Completely new

– Not a revision or upgrade of BlackBerry 7• Secure• Designed as a mobile computing platform

– Not just another mobile phone OS• Designed for people on the move; people

that want to get something done– Not just consume content on the couch

http://developer.blackberry.com

Page 6: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Where Did BlackBerry 10 Come From?

6

BlackBerry® PlayBook™

HTML5 WebWorks

BlackBerry 10TM

http://developer.blackberry.com

Page 7: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

High Level Architecture

BlackBerry Services(BES / Mobile Fusion, BIS, Push, Maps, Payments, BBM, Scoreloop, etc.)

HTML 5 & WebWorks

Native C/C++ &Cascades UI

BlackBerry 10 OS

http://developer.blackberry.com

Page 8: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

6 Reasons to Care

• Over 100,000 apps available

a 220% increase from last year

• Over 3 billion downloads

• Over 175 million downloads per month• Over 6 million downloads every day• Nearly 30 downloads per year per user

•Industry-leading reachApp World is available in over 160 countries

•Carrier Billing with over

60 major carriers across 35+ countries and expanding

1.Huge Global Market

Page 9: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

6 Reasons to Care

• Over 100,000 apps available

a 220% increase from last year

• Over 3 billion downloads

• Over 175 million downloads per month• Over 6 million downloads every day• Nearly 30 downloads per year per user

•Industry-leading reachApp World is available in over 160 countries

•Carrier Billing with over

60 major carriers across 35+ countries and expanding

March 2009

Jun 2011

Jan 2012

July 2012

App DownloadsAccelerating

1B

2B

3B1.Huge Global Market

Page 10: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

6 Reasons to Care

10

1.Huge Global Market

2.Most Profitable Platform for App Developers

Source: Vision Mobile Report, June 2012

$2,735

$3,853

$3,693

$1,234

Average revenue per app-month across the lower95% of developers by per-app revenue (n=806)

Android

Blackberry OS

iOS

Windows Phone

Page 11: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

6 Reasons to Care

11

1.Huge Global Market

2.Most Profitable Platform for App Developers

3.Most Social Mobile Platform

http://developer.blackberry.com

Page 12: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

6 Reasons to Care

C/C++Native SDK

C++/QtCascades

1.Huge Global Market

2.Most Profitable Platform for App Developers

3.Most Social Mobile Platform

4.Easy to Develop Apps

HTML5 BlackBerry®

WebWorks™

BlackBerry Runtime for

Android Apps

“One F***ing Day”Michael Shchade

CEO Fishlabs

http://developer.blackberry.com

Page 13: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

6 Reasons to Care1.Huge Global Market

2.Most Profitable Platform for App Developers

3.Most Social Mobile Platform

4.Easy to Develop Apps

5.Going Beyond Mobile

http://developer.blackberry.com

Page 14: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

6 Reasons to Care1.Huge Global Market

2.Most Profitable Platform for App Developers

3.Most Social Mobile Platform

4.Easy to Develop Apps

5.Going Beyond Mobile

6.Because We Care

http://developer.blackberry.com

Page 15: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Demo• Will show the UX & Flow.

Specifically, one-hand use, the amazing keyboard, the Time Warp Camera, 3D graphics, and insane multitaskingdesigned to get stuff done.

http://developer.blackberry.com

Page 16: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Enterprise or Consumer Device?• Consumer business surpassed Enterprise

business 2 years ago!

• Enterprise business still very important to RIM

• BYOD Trend: RIM takes lead with BlackBerry Balance & BlackBerry Mobile Fusion

• Most people that have smartphones alsohave jobs!

• There is no “Enterprise vs. Consumer” anymore!BlackBerry 10 provides the security enterprises need AND the consumer experience people want without compromising on either one!

Page 17: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Demo: Personal & Work Partition• Will demonstrate switching between

Personal and Work partitions (BlackBerry Balance)

• Will demonstrate Enterprise AppWorld and Enterprise apps(managed by BlackBerry Mobile Fusion)

http://developer.blackberry.com

Page 18: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

C/C++Native SDK

C++/QtCascades

HTML5 BlackBerry®

WebWorks™

BlackBerry Runtime for Android Apps

Developer Options

||||||||

http://developer.blackberry.com

Page 19: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

BlackBerry Web Platform• Driven by strong Web standards support• Powered by WebKit• HTML5 and CSS3• Flash 11 and WebGL

http://developer.blackberry.com

Page 20: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

What Can You Do With BlackBerry WebWorks?

• Touch Events• Geolocation• Web Sockets• Offline storage• Audio / Video• Notifications• WebGL … and more

Slacker

ScoreMobile Tablet

http://developer.blackberry.com

Page 21: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

document.ontouchstart = function(event) {

//Tell browser engine not to scroll/span/zoom // when user touches screen: event.preventDefault();

var touch = event.changedTouches[0]; alert(touch.pageX + "," + touch.pageY);

}Pong-port samplehttp://spaceport.io

Touch Events…Define custom touch event handlersUp to 4-finger touch events supportedSee “Sample Code – SketchPad Application” http://bit.ly/hz67JX

http://developer.blackberry.com

Page 22: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

WebWorks Custom ExtensionsBuild your own APIs

- Access native layer functionality- More powerful than just HTML5- E.g. NFC, Clipboard, Barcode, Analytics

JavaScript interface for platform code- BlackBerry OS = Java- Tablet OS = AIR- BlackBerry 10 = C/C++

LensboostMblware Ltd

http://developer.blackberry.com

Page 23: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

BlackBerry Apps WebWorks Tools

How to Get There…

http://developer.blackberry.com

Web Assets

Page 24: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Developer Options

BlackBerry Runtime for Android Apps

http://developer.blackberry.com

C/C++Native SDK

C++/QtCascades

HTML5 BlackBerry®

WebWorks™

BlackBerry Runtime for Android Apps

||||||||

Page 25: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Native C/C++ & Cascades• Low Level • Posix/Low level C APIs• Low level windowing features• OpenGL ES• Excellent for games or self

contained applications

• High Level – Cascades• High level APIs / C++• QT flavored + QML + JavaScript• High level UI Framework with BlackBerry 10 UI controls

Page 26: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Native C/C++

gameplayhttp://developer.blackberry.com

Page 27: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Cascades, A Native UI Framework• Cascades & Qt, a great match!

• Mature C++ application framework

• Great APIs

• Signals and Slots

• Many helper classes

• QML

http://developer.blackberry.com

Page 28: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Why Use Cascades?• Elegant UI Framework

– Great looking core UIcomponents

– Easy to build customcomponents

– Dedicated UI tooling includingreal-time design preview and Photoshop plugin

• Increased Productivity– Higher level APIs– QT flavored C++ and declarative UI

http://developer.blackberry.com

Page 29: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Standard UI Components…

http://developer.blackberry.com

Page 30: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Components…

http://developer.blackberry.com

Page 31: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Typical Cascades App

http://developer.blackberry.com

JavaScriptbased UI logic

QML based UIstructure

QT/C++Backend

Page 32: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Any Mix Is Possible

http://developer.blackberry.com

JavaScriptbased UI logic

QML basedUI structure

QT/C++Backend

Page 33: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

JavaScript

QML

C++

myCppFunction()

myCppFunction {}

myJSFunction{}

myJSFunction() class MyClass { int property;}

MyObject { MyProperty: x}

QmlDocument::create("asset:///main.qml")

MyObject { MyOtherObj {…}}

Moving Between QML and C++ Is Easy

Page 34: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Easy to Read, Declarative QML

ObjectsProperties

Arrays

JavaScript functions

http://developer.blackberry.com

Page 35: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

http://developer.blackberry.com

Page 36: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

http://developer.blackberry.com

QML Editor with syntax highlighting and code completion

Page 37: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

http://developer.blackberry.com

QML Design View

Page 38: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

http://developer.blackberry.com

QML Component Librarydrag & drop to QML editor

Page 39: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

http://developer.blackberry.com

QML Tree ViewQML Properties View

Page 40: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Developer Options

BlackBerry Runtime for Android Apps

http://developer.blackberry.com

C/C++Native SDK

C++/QtCascades

HTML5 BlackBerry®

WebWorks™

BlackBerry Runtime for Android Apps

||||||||

Page 41: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Adobe AIR• Adobe Flash Builder 4.7

• FDT Powerflasher

• Plus BlackBerry SDK for Adobe

• Can also use command-line tools and bypass IDEs…

http://developer.blackberry.com

Page 42: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

BlackBerry Runtime for Android Apps• Based on Open Source Android, v2.3.3 aka “Gingerbread”

• Repackage Android apps, sign, and submitted to BlackBerry World

• Majority of apps convert with no changes to source (~65%)

• Some limitations for first release

• No: Native, Google APIs

• Eclipse plugin & SDK w/simulator

• Android-based apps appear like all other apps in BlackBerry World (AIR, WebWorks, etc.). To the consumer, “An app, is an app”

http://developer.blackberry.com

.apk in .bar out

Page 43: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Summary: 6 Reasons to Care

1. Huge Global Market

2. Most Profitable Mobile Platform for App Developers

3. Most Social Mobile Platform

4. Easy to Develop Apps

5. Going Beyond Mobile

6. Because We Care

$1k USD < your earnings < $10K

RIM pays the difference!

Must be in BlackBerry World by Jan 21st

http://developer.blackberry.com

Page 44: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

Useful Links

$1k USD < your earnings < $10K

RIM pays the difference!

Must be in BlackBerry World by Jan 21st

http://developer.blackberry.com

• Dev Tools: developer.blackberry.com

• $10k program:developer.blackberry.com/10k

• OSS projects:github.com/blackberry

Page 45: Att dev summit_2013_building_bb10_apps_larry

The views expressed in this presentation do not necessarily reflect the views of AT&T.

thank you!