SlideShare a Scribd company logo
1 of 37
Download to read offline
Bring Your Android Apps to
BlackBerry 10 (in minutes)
Ranbijay Kumar
Developer Relations - BlackBerry
• What is the BlackBerry Runtime for
Android Apps?
• BlackBerry 10 Features
• New Features Demo
• Development Basics
– Converting Existing Android Apps
– Signing and Publishing to BlackBerry World
• Q&A
2
Overview
What’s BB Runtime for Android Apps?
► It’s Android Open source
v2.3.3 aka “Gingerbread”
Application Framework
running on top of
Playbook/BB10 OS and
Libraries
► Enables Android apps to
be installed and run inside it
► Deep integration with BB
native framework with the
objective to make Android
app indistinguishable from
native apps
Core Android AppsApplication Framework
Activity Mgr
Package Mgr Resource Mgr
Window Mgr View System
Location Mgr
Notification
Mgr
Core Apps App 1 .
BlackBerry PB/BB10 OS
Surface Mgr
WebKit
FreeType SGL
SSL
SQLite
OpenGL ES
Media Fwk libc
Java Runtime
Dalvik Virtual Machine
Core Libraries
Library
App 2 App 3
3
4
What is the Android Runtime?
5 Minute Overview
• Android open source version 2.3.3 aka
“Gingerbread” application framework running on
top of BlackBerry PlayBook and BlackBerry 10
• Enables ported Android apps to be installed and
integrate with BlackBerry PlayBook OS and
BlackBerry 10
• Deep integration with BlackBerry native
framework with the objective to make Android
apps almost indistinguishable from native
applications 5
What is the Android Runtime?
Overview
• About 70% of all Android apps are compatible today
• Not all Android APIs are supported
►Hardware and OS limitations
• Android Apps are limited to the personal perimeter
►No Enterprise support
• Full compatibility list see:
►http://developer.blackberry.com/android/apisupport
6
What is the Android Runtime?
Compatibility & Limitations
BlackBerry 10 (Z10 and Q10)
BlackBerry Runtime for Android Apps
• Improved Usability
– Integration with virtual keyboard
– BlackBerry Permission Prompts
– Support for BB10 screen resolution
– Intents invoke core BB10 apps
– Notifications mapped to BlackBerry 10
– Supported multiple form factors
• Improved Compatibility
– PIM APIs
– Telephony APIs
– Push Features
7
► 4.2″ screen
► 1280×768 resolution
► Micro USB
► Micro HDMI
► Bluetooth, WiFi, microSIM
► 3.1″ screen
► 720×720 resolution
► Micro USB
► Micro HDMI
► Bluetooth, WiFi, microSIM
8
BlackBerry 10 Features
Usability and Compatibility
BlackBerry 10 Features
Improved Usability
• Text input controls are now
integrated with the BlackBerry
10 virtual keyboard
• Support for notifications
– Integrated with BlackBerry Hub and as a splat on
your application icon
• Multimedia sync
– Multimedia created using Android apps is visible
to native BlackBerry 10 multimedia applications.
This includes pictures and videos
9
BlackBerry 10 Features
Improved Usability
• New intent support for
BlackBerry 10 apps and cards
– Share via Email or SMS
– Create Calendar appointments
– Add information to Contacts
– Contact Picker
– Launch links via native Browser
– Dialer Support
– File Picker
10
BlackBerry 10 Features
Improved Compatibility
• New API support in BlackBerry
10 Runtime for Android Apps
– Camera API
– Camera Flash API
– Camera AutoFocus API
– In-App Payment API
– C2DM/GCM Support
– Ambient Light API
– Proximity sensor API
– Telephony APIs* (Not all
supported) 11
BlackBerry 10 Features
BlackBerry Runtime for Android Apps
• What’s coming with Keyboard
devices?
– Continued support for Android Runtime
– Support for 720x720 screen resolution
– QWERTY keyboard support
12
• Support for location based intents to display maps
• Use WebView + web services (Google, Bing, etc.) to
display map content within apps
• More details on mapping support can be found on
the API Support Page
– http://developer.blackberry.com/android/apisuppor
t 13
BlackBerry 10 Features
Want to use Maps?
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
WebView webView = (WebView) findViewById(R.id.mywebview);
webView.getSettings().setJavaScriptEnabled(true);
webView.loadUrl("http://maps.google.com/?ll=36.97,-
122&lci=bike&z=13&t=p");
}
14
BlackBerry 10 Features
Want to use Maps?
15
• In-App Payments supported through BlackBerry World
• Use the same Digital Good SKUs used for Item IDs in the
Android payment system
• Couple of items to remember:
– Only one purchase can be made at a time (No
concurrent transactions)
– Refunds are not supported
– Subscriptions are not supported
– Transaction responses are not signed
• http://developer.blackberry.com/android/apisupport
BlackBerry 10 Features
Want to use In-App Payments?
16
• Push support for Cloud to Device Messaging(C2DM) and
Google Cloud Messaging(GCM)
• To create a push-enabled Android app, you need to:
– Register with the Push Service
– Create the configuration file
– Specify Push as a required permission in the .bar file's
manifest file
– On the push-initiator server side, format the data to be
sent to BlackBerry application servers instead of
Google application servers
• http://developer.blackberry.com/android/apisupport
BlackBerry 10 Features
Want to use Push?
17
Demo
New features
BlackBerry Development Basics
18
Convert, Sign and Submit!
• Tools
– Online Conversion Tool - Quickest way to get
apps converted Free
– Eclipse Plug-in - For most Android developers Free
– Command-line Tools - Advanced development
options Free
– Simulators - BlackBerry PlayBook and BlackBerry
10 Free*
• Basic concepts
– Code Signing Free
– Development Debug Tokens
19
Development Basics
Simple Process
Android RuntimeAndroid Runtime
20
Converting Existing Apps
Online Conversion Tool
► Select the
location of your
APK file
► Select the
location of your
Android SDK
folder
21
Converting Existing Apps
Online Conversion Tool
22
Converting Existing Apps
Online Conversion Tool
► Warnings range
from mild (level 1) to
severe (level 5)
► Apps that receive
warnings less than
level 2 are considered
compatible
► Apps which receive
warnings of level 2 or
higher are generally
considered to be
incompatible
• ADT Plug-in for Eclipse + BlackBerry Plug-in
for ADT
23
► BlackBerry PlayBook,
BlackBerry 10 and
simulators are just another
device target for your
existing Android project
► Debugging applications on
BlackBerry just like on
other Android devices
Converting Existing Apps
Eclipse Plug-in for Android 1.5
Single Android project can
target both of the BlackBerry
10 form factors within the
same release build.
24
ADT Project Structure
• What’s new in BlackBerry Plug-in for ADT
– Support for Windows 8, Mountain Lion 10.8, Ubuntu
12.04
– Added support for ADT 21.0.1
– Icon size now includes support for xhpdi and hdpi
Android icons
• High resolution icons will be converted to 114x114 for
BlackBerry 10
• xhdpi 96x96 icons will be resized for PlayBook or
BlackBerry 10 if higher resolution icon is not present
– Support for BAR manifest additions
25
Converting Existing Apps
Eclipse Plug-in for Android 1.5.2
Repackage your APK to a BAR file in 4 easy
steps
1) Check your APK for compatibility
apk2barVerifier
2) Repackage your APK file as a BAR
apk2bar
3) Sign your application
batchbar-signer
4) Deploy your application
blackberry-deploy
26
C:Program FilesAndroidandroid-sdkbin>
apk2barVerifier HelloWorld.apk
C:Program FilesAndroidandroid-sdkbin>
apk2bar HelloWorld.apk
C:Program FilesAndroidandroid-sdkbin>
batchbar-signer HelloWorld.bar author.p12
p12password rdkpassword
C:Program FilesAndroidandroid-sdkbin>
blackberry-deploy –installApp –device
169.254.0.1 –package HelloWorld.bar
–password devicepassword
Development Basics
Command-line SDK
• When you run verification on your application,
you might see warnings or errors
• These not errors. Features requiring minimal
OS verison
– uses-feature: android.hardware.camera:required minimal OS version=2.1:impact=2
– uses-permission: com.google.android.c2dm.permission.RECEIVE:required minimal OS version=10.0.9:impact=2
– uses-feature: android.hardware.telephony:required minimal OS version=10.0.6:impact=2
• These are features not supported
– native-code: armeabi:impact=5
– uses-library: android.test.runner:impact=4
– uses package: com.google.android.maps:impact=3
– targetSdkVersion: 14 is higher than 10:impact=1
27
Development Basics
Common Verification Errors
• A code signing key is required to test your app and to
publish your app to BlackBerry World
• They can also be used to generate a debug token for
your BlackBerry PlayBook or BlackBerry 10 Device
• Request code signing keys here
– http://developer.blackberry.com/android/signingkey
28
Converting Existing Apps
Sign Apps for BlackBerry World
• What do you need to submit your application
– Application for membership Account
– Application and a great app name
– Great description and details about your application
– Create an icon, screen shots, vendor logo
• App Icon – 480x480
• App Screen Shots – 1280x720 or 720x720
• Submit your app!
• developer.blackberry.com/devzone/blackberryworl
d/preparing_your_app_for_blackberry_world.html
Development Basics
Submit to BlackBerry World
29
• 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
30
Development Basics
Submit to BlackBerry World
• PineLake Communications on Porting Cubifice
to BlackBerry 10
– Ported existing OpenGL
Android application
– Porting process took 1 hour
– 25x more downloads in
BlackBerry World versus
Google Play
31
Success Stories
32
Success Stories
Songza
33
Success Stories
34
Success Stories
Photo Studio
35
Success Stories
For More Information
• BlackBerry Runtime for Android apps homepage
– http://developer.blackberry.com/android/
• BlackBerry Runtime for Android apps Roadmap
– http://developer.blackberry.com/android/tools/roadmap/
• Repackaging and Development Tools
– http://developer.blackberry.com/android/tools/
• Getting started tutorial
– http://developer.blackberry.com/android/documentation/gettingstarted.htm
l
36
developer.blackberry.com/android

More Related Content

What's hot

Platform update and super apps ON BB App World
Platform update and super apps ON BB App World Platform update and super apps ON BB App World
Platform update and super apps ON BB App World
Prashant Singh
 
Multi channel advantage
Multi channel advantageMulti channel advantage
Multi channel advantage
Dipesh Mukerji
 
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Bruce Elgort
 

What's hot (20)

Kony plaform short
Kony plaform   shortKony plaform   short
Kony plaform short
 
E internet além da web
E internet além da webE internet além da web
E internet além da web
 
The Notes/Domino Application Development Competitive Advantage - IamLUG
The Notes/Domino Application Development Competitive Advantage - IamLUGThe Notes/Domino Application Development Competitive Advantage - IamLUG
The Notes/Domino Application Development Competitive Advantage - IamLUG
 
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
 
Gl android platform
Gl android platformGl android platform
Gl android platform
 
Platform update and super apps ON BB App World
Platform update and super apps ON BB App World Platform update and super apps ON BB App World
Platform update and super apps ON BB App World
 
Kony Mobile Management
Kony Mobile ManagementKony Mobile Management
Kony Mobile Management
 
AD101: IBM Domino Application Development Futures
AD101: IBM Domino Application Development FuturesAD101: IBM Domino Application Development Futures
AD101: IBM Domino Application Development Futures
 
IBM Connect 2014 - KEY108: IBM Collaboration Solutions Application Developmen...
IBM Connect 2014 - KEY108: IBM Collaboration Solutions Application Developmen...IBM Connect 2014 - KEY108: IBM Collaboration Solutions Application Developmen...
IBM Connect 2014 - KEY108: IBM Collaboration Solutions Application Developmen...
 
Windows 7 Developer Overview
Windows 7 Developer OverviewWindows 7 Developer Overview
Windows 7 Developer Overview
 
Multi channel advantage
Multi channel advantageMulti channel advantage
Multi channel advantage
 
.NET and Kubernetes: Bringing Legacy .NET Into the Modern World with Pivotal ...
.NET and Kubernetes: Bringing Legacy .NET Into the Modern World with Pivotal ....NET and Kubernetes: Bringing Legacy .NET Into the Modern World with Pivotal ...
.NET and Kubernetes: Bringing Legacy .NET Into the Modern World with Pivotal ...
 
Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First
 
Philipe Riand - Building Social Applications using the Social Business Toolki...
Philipe Riand - Building Social Applications using the Social Business Toolki...Philipe Riand - Building Social Applications using the Social Business Toolki...
Philipe Riand - Building Social Applications using the Social Business Toolki...
 
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
 
BlackBerry Developer Overview
BlackBerry Developer OverviewBlackBerry Developer Overview
BlackBerry Developer Overview
 
AnDevCon: Introduction to Darwino
AnDevCon: Introduction to DarwinoAnDevCon: Introduction to Darwino
AnDevCon: Introduction to Darwino
 
Enterprise Apps Development 101
Enterprise Apps Development 101Enterprise Apps Development 101
Enterprise Apps Development 101
 
IBM Social Business Toolkit SDK - Playground and Scenarios
IBM Social Business Toolkit SDK - Playground and ScenariosIBM Social Business Toolkit SDK - Playground and Scenarios
IBM Social Business Toolkit SDK - Playground and Scenarios
 
DevBeat 2013 IBM Master Class presentation
DevBeat 2013 IBM Master Class presentationDevBeat 2013 IBM Master Class presentation
DevBeat 2013 IBM Master Class presentation
 

Viewers also liked

CURRICULUMN VITEA OF SHYLOCK MUVHANGO
CURRICULUMN VITEA OF SHYLOCK MUVHANGOCURRICULUMN VITEA OF SHYLOCK MUVHANGO
CURRICULUMN VITEA OF SHYLOCK MUVHANGO
Shylock Muvhango
 
Political Ideology Survey
Political Ideology SurveyPolitical Ideology Survey
Political Ideology Survey
Lina Nandy
 
Deco2200 interaction design_studio_final_presentation_harry mann_stella kim
Deco2200 interaction design_studio_final_presentation_harry mann_stella kimDeco2200 interaction design_studio_final_presentation_harry mann_stella kim
Deco2200 interaction design_studio_final_presentation_harry mann_stella kim
harrym1120
 
Role clarity ppt
Role clarity pptRole clarity ppt
Role clarity ppt
janenec
 

Viewers also liked (15)

CURRICULUMN VITEA OF SHYLOCK MUVHANGO
CURRICULUMN VITEA OF SHYLOCK MUVHANGOCURRICULUMN VITEA OF SHYLOCK MUVHANGO
CURRICULUMN VITEA OF SHYLOCK MUVHANGO
 
Watch golden lions vs pumas 14 aug on android
Watch golden lions vs pumas 14 aug  on androidWatch golden lions vs pumas 14 aug  on android
Watch golden lions vs pumas 14 aug on android
 
Kenyatta
KenyattaKenyatta
Kenyatta
 
Political Ideology Survey
Political Ideology SurveyPolitical Ideology Survey
Political Ideology Survey
 
La stampa 3D: tecnologie, opportunità e problemi
La stampa 3D: tecnologie, opportunità e problemiLa stampa 3D: tecnologie, opportunità e problemi
La stampa 3D: tecnologie, opportunità e problemi
 
Preliminary Yearly Results 2015 (press meeting) - Banca IFIS Group
Preliminary Yearly Results 2015 (press meeting) - Banca IFIS GroupPreliminary Yearly Results 2015 (press meeting) - Banca IFIS Group
Preliminary Yearly Results 2015 (press meeting) - Banca IFIS Group
 
Cost Zlin 2015
Cost Zlin 2015Cost Zlin 2015
Cost Zlin 2015
 
Deco2200 interaction design_studio_final_presentation_harry mann_stella kim
Deco2200 interaction design_studio_final_presentation_harry mann_stella kimDeco2200 interaction design_studio_final_presentation_harry mann_stella kim
Deco2200 interaction design_studio_final_presentation_harry mann_stella kim
 
Stampa 3D. Quando conviene e a chi
Stampa 3D. Quando conviene e a chiStampa 3D. Quando conviene e a chi
Stampa 3D. Quando conviene e a chi
 
SWF Presentation Final
SWF Presentation FinalSWF Presentation Final
SWF Presentation Final
 
Scaling eBay Kleinanzeigen
Scaling eBay KleinanzeigenScaling eBay Kleinanzeigen
Scaling eBay Kleinanzeigen
 
Electronic manufacturing v3.0 - Fab Academy 2016
Electronic manufacturing v3.0 - Fab Academy 2016Electronic manufacturing v3.0 - Fab Academy 2016
Electronic manufacturing v3.0 - Fab Academy 2016
 
Century Council Presentation
Century Council PresentationCentury Council Presentation
Century Council Presentation
 
Die Generation Z: So tickt die Zielgruppe
Die Generation Z: So tickt die Zielgruppe Die Generation Z: So tickt die Zielgruppe
Die Generation Z: So tickt die Zielgruppe
 
Role clarity ppt
Role clarity pptRole clarity ppt
Role clarity ppt
 

Similar to Bring Your Android Apps to BlackBerry 10 in minutes

201507_NeoHsu_Portfolio
201507_NeoHsu_Portfolio201507_NeoHsu_Portfolio
201507_NeoHsu_Portfolio
Neo Hsu
 
IBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphoneIBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphone
nick_garrod
 

Similar to Bring Your Android Apps to BlackBerry 10 in minutes (20)

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
 
Building cross platfrom solutions for enterprise - the mobileshow- may 2014
Building cross platfrom solutions for enterprise - the mobileshow- may 2014Building cross platfrom solutions for enterprise - the mobileshow- may 2014
Building cross platfrom solutions for enterprise - the mobileshow- may 2014
 
201507_NeoHsu_Portfolio
201507_NeoHsu_Portfolio201507_NeoHsu_Portfolio
201507_NeoHsu_Portfolio
 
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
 
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
 
Ibm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsIbm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applications
 
App42 Student Lab - Android Game Dev Series V 0.1
App42 Student Lab - Android Game Dev Series V 0.1App42 Student Lab - Android Game Dev Series V 0.1
App42 Student Lab - Android Game Dev Series V 0.1
 
Mobile Web Apps and the Intel® XDK
Mobile Web Apps and the Intel® XDKMobile Web Apps and the Intel® XDK
Mobile Web Apps and the Intel® XDK
 
IBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphoneIBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphone
 
Android complete basic Guide
Android complete basic GuideAndroid complete basic Guide
Android complete basic Guide
 
Getting Started with BB Development..
Getting Started with BB Development..Getting Started with BB Development..
Getting Started with BB Development..
 
The Blackberry Opportunity (RIM) 160612
The Blackberry Opportunity (RIM) 160612The Blackberry Opportunity (RIM) 160612
The Blackberry Opportunity (RIM) 160612
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 
Develop For BlackBerry10
Develop For BlackBerry10 Develop For BlackBerry10
Develop For BlackBerry10
 
Nordics IBM Mobile Foundation Integration in Action
Nordics IBM Mobile Foundation Integration in ActionNordics IBM Mobile Foundation Integration in Action
Nordics IBM Mobile Foundation Integration in Action
 
Creating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixCreating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM Bluemix
 
Build once deploy everywhere using the telerik platform
Build once deploy everywhere using the telerik platformBuild once deploy everywhere using the telerik platform
Build once deploy everywhere using the telerik platform
 
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
 
An Overview of Blackberry 10
An Overview of Blackberry 10An Overview of Blackberry 10
An Overview of Blackberry 10
 
Worklight mobile v6
Worklight mobile v6 Worklight mobile v6
Worklight mobile v6
 

More from Dr. Ranbijay Kumar

More from Dr. Ranbijay Kumar (12)

BlackBerry10: "Built For BlackBerry (BFB)"
BlackBerry10: "Built For BlackBerry (BFB)"BlackBerry10: "Built For BlackBerry (BFB)"
BlackBerry10: "Built For BlackBerry (BFB)"
 
JAM844 - Building Apps that Sense, Understand and Adapt
JAM844 - Building Apps that Sense, Understand and AdaptJAM844 - Building Apps that Sense, Understand and Adapt
JAM844 - Building Apps that Sense, Understand and Adapt
 
JAM805 - Beyond the Device
JAM805 -  Beyond the DeviceJAM805 -  Beyond the Device
JAM805 - Beyond the Device
 
JAM803-How the Use of NFC is Evolving
JAM803-How the Use of NFC is EvolvingJAM803-How the Use of NFC is Evolving
JAM803-How the Use of NFC is Evolving
 
Ranbijay Kumar - BlackBerry Jam Americas 2013
Ranbijay Kumar - BlackBerry Jam Americas 2013Ranbijay Kumar - BlackBerry Jam Americas 2013
Ranbijay Kumar - BlackBerry Jam Americas 2013
 
BlackBerry10 and iOS app SDK/Platform Comparison
BlackBerry10 and iOS app SDK/Platform ComparisonBlackBerry10 and iOS app SDK/Platform Comparison
BlackBerry10 and iOS app SDK/Platform Comparison
 
Online Industry - New Era
Online Industry - New EraOnline Industry - New Era
Online Industry - New Era
 
BlackBerry10: Blurring the Boundaries between HTML5 & Native Apps
BlackBerry10: Blurring the Boundaries between HTML5 & Native AppsBlackBerry10: Blurring the Boundaries between HTML5 & Native Apps
BlackBerry10: Blurring the Boundaries between HTML5 & Native Apps
 
Building Apps that Sense, Understand and Adapt.
Building Apps that Sense, Understand and Adapt.Building Apps that Sense, Understand and Adapt.
Building Apps that Sense, Understand and Adapt.
 
Identifying Bottlenecks in Mobile Cloud Computing (MCC)
Identifying Bottlenecks in Mobile Cloud Computing (MCC)Identifying Bottlenecks in Mobile Cloud Computing (MCC)
Identifying Bottlenecks in Mobile Cloud Computing (MCC)
 
JAM316 - Native API Deep Dive: Multimedia Playback & Streaming
JAM316 - Native API Deep Dive: Multimedia Playback & StreamingJAM316 - Native API Deep Dive: Multimedia Playback & Streaming
JAM316 - Native API Deep Dive: Multimedia Playback & Streaming
 
JAM819 - Native API Deep Dive: Data Storage and Retrieval
JAM819 - Native API Deep Dive: Data Storage and RetrievalJAM819 - Native API Deep Dive: Data Storage and Retrieval
JAM819 - Native API Deep Dive: Data Storage and Retrieval
 

Recently uploaded

Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 

Recently uploaded (18)

ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Causes of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCauses of poverty in France presentation.pptx
Causes of poverty in France presentation.pptx
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
 
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 

Bring Your Android Apps to BlackBerry 10 in minutes

  • 1. Bring Your Android Apps to BlackBerry 10 (in minutes) Ranbijay Kumar Developer Relations - BlackBerry
  • 2. • What is the BlackBerry Runtime for Android Apps? • BlackBerry 10 Features • New Features Demo • Development Basics – Converting Existing Android Apps – Signing and Publishing to BlackBerry World • Q&A 2 Overview
  • 3. What’s BB Runtime for Android Apps? ► It’s Android Open source v2.3.3 aka “Gingerbread” Application Framework running on top of Playbook/BB10 OS and Libraries ► Enables Android apps to be installed and run inside it ► Deep integration with BB native framework with the objective to make Android app indistinguishable from native apps Core Android AppsApplication Framework Activity Mgr Package Mgr Resource Mgr Window Mgr View System Location Mgr Notification Mgr Core Apps App 1 . BlackBerry PB/BB10 OS Surface Mgr WebKit FreeType SGL SSL SQLite OpenGL ES Media Fwk libc Java Runtime Dalvik Virtual Machine Core Libraries Library App 2 App 3 3
  • 4. 4 What is the Android Runtime? 5 Minute Overview
  • 5. • Android open source version 2.3.3 aka “Gingerbread” application framework running on top of BlackBerry PlayBook and BlackBerry 10 • Enables ported Android apps to be installed and integrate with BlackBerry PlayBook OS and BlackBerry 10 • Deep integration with BlackBerry native framework with the objective to make Android apps almost indistinguishable from native applications 5 What is the Android Runtime? Overview
  • 6. • About 70% of all Android apps are compatible today • Not all Android APIs are supported ►Hardware and OS limitations • Android Apps are limited to the personal perimeter ►No Enterprise support • Full compatibility list see: ►http://developer.blackberry.com/android/apisupport 6 What is the Android Runtime? Compatibility & Limitations
  • 7. BlackBerry 10 (Z10 and Q10) BlackBerry Runtime for Android Apps • Improved Usability – Integration with virtual keyboard – BlackBerry Permission Prompts – Support for BB10 screen resolution – Intents invoke core BB10 apps – Notifications mapped to BlackBerry 10 – Supported multiple form factors • Improved Compatibility – PIM APIs – Telephony APIs – Push Features 7 ► 4.2″ screen ► 1280×768 resolution ► Micro USB ► Micro HDMI ► Bluetooth, WiFi, microSIM ► 3.1″ screen ► 720×720 resolution ► Micro USB ► Micro HDMI ► Bluetooth, WiFi, microSIM
  • 9. BlackBerry 10 Features Improved Usability • Text input controls are now integrated with the BlackBerry 10 virtual keyboard • Support for notifications – Integrated with BlackBerry Hub and as a splat on your application icon • Multimedia sync – Multimedia created using Android apps is visible to native BlackBerry 10 multimedia applications. This includes pictures and videos 9
  • 10. BlackBerry 10 Features Improved Usability • New intent support for BlackBerry 10 apps and cards – Share via Email or SMS – Create Calendar appointments – Add information to Contacts – Contact Picker – Launch links via native Browser – Dialer Support – File Picker 10
  • 11. BlackBerry 10 Features Improved Compatibility • New API support in BlackBerry 10 Runtime for Android Apps – Camera API – Camera Flash API – Camera AutoFocus API – In-App Payment API – C2DM/GCM Support – Ambient Light API – Proximity sensor API – Telephony APIs* (Not all supported) 11
  • 12. BlackBerry 10 Features BlackBerry Runtime for Android Apps • What’s coming with Keyboard devices? – Continued support for Android Runtime – Support for 720x720 screen resolution – QWERTY keyboard support 12
  • 13. • Support for location based intents to display maps • Use WebView + web services (Google, Bing, etc.) to display map content within apps • More details on mapping support can be found on the API Support Page – http://developer.blackberry.com/android/apisuppor t 13 BlackBerry 10 Features Want to use Maps?
  • 14. @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); WebView webView = (WebView) findViewById(R.id.mywebview); webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl("http://maps.google.com/?ll=36.97,- 122&lci=bike&z=13&t=p"); } 14 BlackBerry 10 Features Want to use Maps?
  • 15. 15 • In-App Payments supported through BlackBerry World • Use the same Digital Good SKUs used for Item IDs in the Android payment system • Couple of items to remember: – Only one purchase can be made at a time (No concurrent transactions) – Refunds are not supported – Subscriptions are not supported – Transaction responses are not signed • http://developer.blackberry.com/android/apisupport BlackBerry 10 Features Want to use In-App Payments?
  • 16. 16 • Push support for Cloud to Device Messaging(C2DM) and Google Cloud Messaging(GCM) • To create a push-enabled Android app, you need to: – Register with the Push Service – Create the configuration file – Specify Push as a required permission in the .bar file's manifest file – On the push-initiator server side, format the data to be sent to BlackBerry application servers instead of Google application servers • http://developer.blackberry.com/android/apisupport BlackBerry 10 Features Want to use Push?
  • 19. • Tools – Online Conversion Tool - Quickest way to get apps converted Free – Eclipse Plug-in - For most Android developers Free – Command-line Tools - Advanced development options Free – Simulators - BlackBerry PlayBook and BlackBerry 10 Free* • Basic concepts – Code Signing Free – Development Debug Tokens 19 Development Basics Simple Process Android RuntimeAndroid Runtime
  • 20. 20 Converting Existing Apps Online Conversion Tool ► Select the location of your APK file ► Select the location of your Android SDK folder
  • 22. 22 Converting Existing Apps Online Conversion Tool ► Warnings range from mild (level 1) to severe (level 5) ► Apps that receive warnings less than level 2 are considered compatible ► Apps which receive warnings of level 2 or higher are generally considered to be incompatible
  • 23. • ADT Plug-in for Eclipse + BlackBerry Plug-in for ADT 23 ► BlackBerry PlayBook, BlackBerry 10 and simulators are just another device target for your existing Android project ► Debugging applications on BlackBerry just like on other Android devices Converting Existing Apps Eclipse Plug-in for Android 1.5
  • 24. Single Android project can target both of the BlackBerry 10 form factors within the same release build. 24 ADT Project Structure
  • 25. • What’s new in BlackBerry Plug-in for ADT – Support for Windows 8, Mountain Lion 10.8, Ubuntu 12.04 – Added support for ADT 21.0.1 – Icon size now includes support for xhpdi and hdpi Android icons • High resolution icons will be converted to 114x114 for BlackBerry 10 • xhdpi 96x96 icons will be resized for PlayBook or BlackBerry 10 if higher resolution icon is not present – Support for BAR manifest additions 25 Converting Existing Apps Eclipse Plug-in for Android 1.5.2
  • 26. Repackage your APK to a BAR file in 4 easy steps 1) Check your APK for compatibility apk2barVerifier 2) Repackage your APK file as a BAR apk2bar 3) Sign your application batchbar-signer 4) Deploy your application blackberry-deploy 26 C:Program FilesAndroidandroid-sdkbin> apk2barVerifier HelloWorld.apk C:Program FilesAndroidandroid-sdkbin> apk2bar HelloWorld.apk C:Program FilesAndroidandroid-sdkbin> batchbar-signer HelloWorld.bar author.p12 p12password rdkpassword C:Program FilesAndroidandroid-sdkbin> blackberry-deploy –installApp –device 169.254.0.1 –package HelloWorld.bar –password devicepassword Development Basics Command-line SDK
  • 27. • When you run verification on your application, you might see warnings or errors • These not errors. Features requiring minimal OS verison – uses-feature: android.hardware.camera:required minimal OS version=2.1:impact=2 – uses-permission: com.google.android.c2dm.permission.RECEIVE:required minimal OS version=10.0.9:impact=2 – uses-feature: android.hardware.telephony:required minimal OS version=10.0.6:impact=2 • These are features not supported – native-code: armeabi:impact=5 – uses-library: android.test.runner:impact=4 – uses package: com.google.android.maps:impact=3 – targetSdkVersion: 14 is higher than 10:impact=1 27 Development Basics Common Verification Errors
  • 28. • A code signing key is required to test your app and to publish your app to BlackBerry World • They can also be used to generate a debug token for your BlackBerry PlayBook or BlackBerry 10 Device • Request code signing keys here – http://developer.blackberry.com/android/signingkey 28 Converting Existing Apps Sign Apps for BlackBerry World
  • 29. • What do you need to submit your application – Application for membership Account – Application and a great app name – Great description and details about your application – Create an icon, screen shots, vendor logo • App Icon – 480x480 • App Screen Shots – 1280x720 or 720x720 • Submit your app! • developer.blackberry.com/devzone/blackberryworl d/preparing_your_app_for_blackberry_world.html Development Basics Submit to BlackBerry World 29
  • 30. • 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 30 Development Basics Submit to BlackBerry World
  • 31. • PineLake Communications on Porting Cubifice to BlackBerry 10 – Ported existing OpenGL Android application – Porting process took 1 hour – 25x more downloads in BlackBerry World versus Google Play 31 Success Stories
  • 36. For More Information • BlackBerry Runtime for Android apps homepage – http://developer.blackberry.com/android/ • BlackBerry Runtime for Android apps Roadmap – http://developer.blackberry.com/android/tools/roadmap/ • Repackaging and Development Tools – http://developer.blackberry.com/android/tools/ • Getting started tutorial – http://developer.blackberry.com/android/documentation/gettingstarted.htm l 36