SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Larry McDonough
BlackBerry Developer Relations
@LMcDunna
Running Android Apps on BlackBerry 10
developer.blackberry.com/android
Agenda
• BlackBerry 10 Demo
• Developing for BlackBerry 10
• The BlackBerry Runtime for
Android Apps
• App Porting… Live on stage!
What could go wrong?
• Q & A
• Raffle
Launched on January 30th, 2013
Device Demo
• The Hub
• Time Shift
• Balance
• Keyboard
Where Did BlackBerry 10 Come From?
4
BlackBerry®
PlayBook™
HTML5
WebWorks
BlackBerry 10TM
http://developer.blackberry.com
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
Developers have Choices
Runtimes & Frameworks
ActionScript
Adobe AIR
HTML5, CSS, JavaScript
WebWorks
C/C++
Native SDK
Java
Android
Runtime
What’s So Great About BlackBerry 10?
 World’s best OS
 built on QNX, Best RTOS on the planet
 Worlds best browser
 Highest score on html5test.com beating out even all desktop
browsers!
 World’s best keyboards – Physical && Virtual
 Head and shoulders above iPhone
 World’s best developer platform
 Choices: C/C++ l HTML5 l AIR l Android
 Open: Lots of projects on GitHub: https://github.com/blackberry
 Designed from ground up for today/tomorrow’s mobile
computing needs
 UI/UX designed for PRODUCTIVITY
 Best Damn Developer Relations Team in the World
 http://developer.blackberry.com/android 7
BlackBerry Z10
 Global marketplace
 FREE to register as a vendor
 FREE to submit apps and upgrades
 70/30 revenue share
 Credit card, PayPal, Carrier Billing
 Free and paid apps catalog
 Integrated barcode scanning
8
BlackBerry World
The Power of Carrier Billing on BlackBerry 10
Carrier Billing: integrated operator billing allows for easy payment for digital content
 Carrier billing is the preferred payment option in BlackBerry World, accounting for over 75% of all
paid transactions when available.
 9x average increase in spending per BlackBerry Z10 user purchasing apps & games.
 14x average increase in spending per BlackBerry Z10 user purchasing content including apps,
games, music, and video.
* Bango Sourced Data
Increases Customer
Reach and Retention*
Makes Payments Flexible
& Easy
Carrier billing is initial
default payment option
attracting new customers.
29% of BlackBerry World
users buy 2 or more items
per month
13% of BlackBerry World
users spend more than
$4.99/month
100~300% uplift to
BlackBerry World sales
when carrier billing
launches
75% of gross sales are
transacted through the
carrier when available
Carrier Channel, in-
app, and Subscriptions
Drives Sales
& Revenue
57%
22%
3%
18%
Apps
Games
Video
Music
BlackBerry 10 – BlackBerry World
by content type breakdown
10
Opportunities on BlackBerry World
 80+ Million Subscribers, > 170 Markets
 105,000++ Apps for Sale
 More Revenue per App
 Lower Cost to Develop
 Easy to Port
 Credit card, PayPal & Carrier Billing
 70/30 revenue share
 Free, paid, “freemium” apps
 Ecosystem success
 Over 4 Billion Apps Downloaded
BlackBerry Runtime for Android Apps
 NOT AN “EMULATOR”
11developer.blackberry.com/android
BlackBerry Runtime for Android Apps
 NOT AN “EMULATOR”
 OSS Dalvik VM ported directly to native QNX
 ~70% of all Android apps RUN on
BlackBerry 10 without changing a
SINGLE line of code!
 Very Easy to get started.
12developer.blackberry.com/android
Dalvik
VM
WebKitC++ AIR
Check Compatibility
(Online Tool)
Tooling Options
► Online Packager
► SDK (Command Line)
► Eclipse Plug-in
Re-package APK to
BAR file format.
De-bugging tokens
Test Application
Code signing Key
Sign application
(BAR files)
Access Vendor Portal
Submit App for BlackBerry
Approval
Publish signed BAR files
Run reports
Package Deploy Distribute
Converting Your Existing Android Apps
developer.blackberry.com/android
Getting Started…
1. Request a set of BlackBerry 10 signature keys from
https://www.BlackBerry.com/SignedKeys
• Two *.CSJ file attachments will be emailed within 30
minutes, which are to be added into the IDE in step 3 below
2. If necessary, download device simulators from
https://developer.blackberry.com/android/tools/
3. Install the BlackBerry plug-in for ADT within your IDE (i.e., ADT
plug-in for eclipse), by selecting Help → Add New Software → Add
and provide the URL
http://developer.blackberry.com/android/downloads/eclipseplugin/
4. Set up your environment by selecting Window → Preferences →
BlackBerry → Expand BlackBerry Tools SDK → Bar Signer →
BlackBerry Deployment Setup Wizard
• Walk through the wizard to set up your simulator(s) or
device(s), register your signature
14developer.blackberry.com/android
Dalvik
VM
developer.blackberry.com/android
Getting Started…
After setting up the environment, use of the plug-in is very straightforward as it uses all of the standard operations within
eclipse that Android developers would use such as adb, ddms, jdwp, logcat, etc. The following steps will allow you to check
your app for compatibility, repackage, and sign your application:
1. Add the BlackBerry perspective to your Android project
• Right-click on the project and select BlackBerry Tools → Add BlackBerry Nature to Project
2. Verify the compatibility of your app
• Right-click on the project and select BlackBerry Tools → Verify APK
• Within the <project>/bin project folder, open the <project>.WRN file and view the results
Level 1 and 2 errors are usually negligible, but these features should be tested
Level 3 errors require supported workarounds for Google Maps, Push and IAP
Level 4 and 5 errors are fatal and will cause the app to crash
3. If necessary, make the required code changes while running/debugging the application
1. Right-click on the project and select Run As → BlackBerry Android Launch
2. Right-click on the project and select Debug As → BlackBerry Android Launch
4. Package the application into the BAR file format and sign the app
1. Right-click on the project and select BlackBerry Tools → Sign for BlackBerry World
2. The signed BAR file will be located in the <project>/dist/Android 2.3.3 project folder
Documentation on the BlackBerry Plug-in for ADT can be referenced at:
https://developer.blackberry.com/android/documentation/overview_plugin_1849581_11.html
developer.blackberry.com/android
See dev
site for
full info
16
Upcoming Events…
Every
Attendee
Gets a
FREE
BlackBerry Z10
Sands
Convention Center
Las Vegas
5/21/13
Let’s Port some Apps!
Anyone bring their apk?
THANK YOU!
developer.blackberry.com/android
Larry McDonough
BlackBerry Developer Relations
@LMcDunna

Weitere ähnliche Inhalte

Mehr von Larry McDonough

Managing Internal, Private External, and Open Developer Ecosystems
Managing Internal, Private External, and Open Developer EcosystemsManaging Internal, Private External, and Open Developer Ecosystems
Managing Internal, Private External, and Open Developer EcosystemsLarry McDonough
 
VMware Developer Center --One Pager
VMware Developer Center --One PagerVMware Developer Center --One Pager
VMware Developer Center --One PagerLarry McDonough
 
Mobile App Dev Android, HTML5, Enterprise and More
Mobile App Dev Android, HTML5, Enterprise and MoreMobile App Dev Android, HTML5, Enterprise and More
Mobile App Dev Android, HTML5, Enterprise and MoreLarry McDonough
 
CTIA MobileCON 2013: Whats Up With BlackBerry?
CTIA MobileCON 2013:  Whats Up With BlackBerry?CTIA MobileCON 2013:  Whats Up With BlackBerry?
CTIA MobileCON 2013: Whats Up With BlackBerry?Larry McDonough
 
HTML5 App Dev on BlackBerry 10
HTML5 App Dev on BlackBerry 10HTML5 App Dev on BlackBerry 10
HTML5 App Dev on BlackBerry 10Larry McDonough
 
BB10 Leading Mobile Web Platform W3C 2013
BB10 Leading Mobile Web Platform W3C 2013BB10 Leading Mobile Web Platform W3C 2013
BB10 Leading Mobile Web Platform W3C 2013Larry McDonough
 

Mehr von Larry McDonough (8)

Evans Data DevRel 2016
Evans Data DevRel 2016 Evans Data DevRel 2016
Evans Data DevRel 2016
 
Managing Internal, Private External, and Open Developer Ecosystems
Managing Internal, Private External, and Open Developer EcosystemsManaging Internal, Private External, and Open Developer Ecosystems
Managing Internal, Private External, and Open Developer Ecosystems
 
VMware Developer Center --One Pager
VMware Developer Center --One PagerVMware Developer Center --One Pager
VMware Developer Center --One Pager
 
Developing NFC Apps
Developing NFC AppsDeveloping NFC Apps
Developing NFC Apps
 
Mobile App Dev Android, HTML5, Enterprise and More
Mobile App Dev Android, HTML5, Enterprise and MoreMobile App Dev Android, HTML5, Enterprise and More
Mobile App Dev Android, HTML5, Enterprise and More
 
CTIA MobileCON 2013: Whats Up With BlackBerry?
CTIA MobileCON 2013:  Whats Up With BlackBerry?CTIA MobileCON 2013:  Whats Up With BlackBerry?
CTIA MobileCON 2013: Whats Up With BlackBerry?
 
HTML5 App Dev on BlackBerry 10
HTML5 App Dev on BlackBerry 10HTML5 App Dev on BlackBerry 10
HTML5 App Dev on BlackBerry 10
 
BB10 Leading Mobile Web Platform W3C 2013
BB10 Leading Mobile Web Platform W3C 2013BB10 Leading Mobile Web Platform W3C 2013
BB10 Leading Mobile Web Platform W3C 2013
 

Porting Android Apps to BlackBerry 10

  • 1. Larry McDonough BlackBerry Developer Relations @LMcDunna Running Android Apps on BlackBerry 10 developer.blackberry.com/android
  • 2. Agenda • BlackBerry 10 Demo • Developing for BlackBerry 10 • The BlackBerry Runtime for Android Apps • App Porting… Live on stage! What could go wrong? • Q & A • Raffle
  • 3. Launched on January 30th, 2013 Device Demo • The Hub • Time Shift • Balance • Keyboard
  • 4. Where Did BlackBerry 10 Come From? 4 BlackBerry® PlayBook™ HTML5 WebWorks BlackBerry 10TM http://developer.blackberry.com
  • 5. 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
  • 6. Developers have Choices Runtimes & Frameworks ActionScript Adobe AIR HTML5, CSS, JavaScript WebWorks C/C++ Native SDK Java Android Runtime
  • 7. What’s So Great About BlackBerry 10?  World’s best OS  built on QNX, Best RTOS on the planet  Worlds best browser  Highest score on html5test.com beating out even all desktop browsers!  World’s best keyboards – Physical && Virtual  Head and shoulders above iPhone  World’s best developer platform  Choices: C/C++ l HTML5 l AIR l Android  Open: Lots of projects on GitHub: https://github.com/blackberry  Designed from ground up for today/tomorrow’s mobile computing needs  UI/UX designed for PRODUCTIVITY  Best Damn Developer Relations Team in the World  http://developer.blackberry.com/android 7 BlackBerry Z10
  • 8.  Global marketplace  FREE to register as a vendor  FREE to submit apps and upgrades  70/30 revenue share  Credit card, PayPal, Carrier Billing  Free and paid apps catalog  Integrated barcode scanning 8 BlackBerry World
  • 9. The Power of Carrier Billing on BlackBerry 10 Carrier Billing: integrated operator billing allows for easy payment for digital content  Carrier billing is the preferred payment option in BlackBerry World, accounting for over 75% of all paid transactions when available.  9x average increase in spending per BlackBerry Z10 user purchasing apps & games.  14x average increase in spending per BlackBerry Z10 user purchasing content including apps, games, music, and video. * Bango Sourced Data Increases Customer Reach and Retention* Makes Payments Flexible & Easy Carrier billing is initial default payment option attracting new customers. 29% of BlackBerry World users buy 2 or more items per month 13% of BlackBerry World users spend more than $4.99/month 100~300% uplift to BlackBerry World sales when carrier billing launches 75% of gross sales are transacted through the carrier when available Carrier Channel, in- app, and Subscriptions Drives Sales & Revenue 57% 22% 3% 18% Apps Games Video Music BlackBerry 10 – BlackBerry World by content type breakdown
  • 10. 10 Opportunities on BlackBerry World  80+ Million Subscribers, > 170 Markets  105,000++ Apps for Sale  More Revenue per App  Lower Cost to Develop  Easy to Port  Credit card, PayPal & Carrier Billing  70/30 revenue share  Free, paid, “freemium” apps  Ecosystem success  Over 4 Billion Apps Downloaded
  • 11. BlackBerry Runtime for Android Apps  NOT AN “EMULATOR” 11developer.blackberry.com/android
  • 12. BlackBerry Runtime for Android Apps  NOT AN “EMULATOR”  OSS Dalvik VM ported directly to native QNX  ~70% of all Android apps RUN on BlackBerry 10 without changing a SINGLE line of code!  Very Easy to get started. 12developer.blackberry.com/android Dalvik VM WebKitC++ AIR
  • 13. Check Compatibility (Online Tool) Tooling Options ► Online Packager ► SDK (Command Line) ► Eclipse Plug-in Re-package APK to BAR file format. De-bugging tokens Test Application Code signing Key Sign application (BAR files) Access Vendor Portal Submit App for BlackBerry Approval Publish signed BAR files Run reports Package Deploy Distribute Converting Your Existing Android Apps developer.blackberry.com/android
  • 14. Getting Started… 1. Request a set of BlackBerry 10 signature keys from https://www.BlackBerry.com/SignedKeys • Two *.CSJ file attachments will be emailed within 30 minutes, which are to be added into the IDE in step 3 below 2. If necessary, download device simulators from https://developer.blackberry.com/android/tools/ 3. Install the BlackBerry plug-in for ADT within your IDE (i.e., ADT plug-in for eclipse), by selecting Help → Add New Software → Add and provide the URL http://developer.blackberry.com/android/downloads/eclipseplugin/ 4. Set up your environment by selecting Window → Preferences → BlackBerry → Expand BlackBerry Tools SDK → Bar Signer → BlackBerry Deployment Setup Wizard • Walk through the wizard to set up your simulator(s) or device(s), register your signature 14developer.blackberry.com/android Dalvik VM developer.blackberry.com/android
  • 15. Getting Started… After setting up the environment, use of the plug-in is very straightforward as it uses all of the standard operations within eclipse that Android developers would use such as adb, ddms, jdwp, logcat, etc. The following steps will allow you to check your app for compatibility, repackage, and sign your application: 1. Add the BlackBerry perspective to your Android project • Right-click on the project and select BlackBerry Tools → Add BlackBerry Nature to Project 2. Verify the compatibility of your app • Right-click on the project and select BlackBerry Tools → Verify APK • Within the <project>/bin project folder, open the <project>.WRN file and view the results Level 1 and 2 errors are usually negligible, but these features should be tested Level 3 errors require supported workarounds for Google Maps, Push and IAP Level 4 and 5 errors are fatal and will cause the app to crash 3. If necessary, make the required code changes while running/debugging the application 1. Right-click on the project and select Run As → BlackBerry Android Launch 2. Right-click on the project and select Debug As → BlackBerry Android Launch 4. Package the application into the BAR file format and sign the app 1. Right-click on the project and select BlackBerry Tools → Sign for BlackBerry World 2. The signed BAR file will be located in the <project>/dist/Android 2.3.3 project folder Documentation on the BlackBerry Plug-in for ADT can be referenced at: https://developer.blackberry.com/android/documentation/overview_plugin_1849581_11.html developer.blackberry.com/android See dev site for full info
  • 16. 16 Upcoming Events… Every Attendee Gets a FREE BlackBerry Z10 Sands Convention Center Las Vegas 5/21/13
  • 17. Let’s Port some Apps! Anyone bring their apk?

Hinweis der Redaktion

  1. TAT was acquired by RIM the winter of 2010Creating a new platform is very difficult task