Porting Android Apps to BlackBerry10 in 3 Minutes For Android™ developers interested in deploying apps on BlackBerry® 10, this session will provide an overview of Android development on BlackBerry 10 including tooling, the BlackBerry® Runtime for Android apps and how to develop apps for multiple screen resolutions and device form factors. Discover new features relating to upcoming Jelly Bean support and best practices for writing high performing Android apps for all BlackBerry 10 devices. Join this onsite porting exercise, port your android app and you’ll walk away with a BlackBerry device!
Porting android apps to black berry10 in 3 Minutes - TheMobileShow2014
1. Porting Android Apps to BlackBerry 10
in 3 Minutes
Kareem ElSayed
Application Development Advisor - EMEA
kelsayed@blackberry.com
@kemobyte
Rami AlZoubi
Senior Business Development Manager - EMEA
ralzoubi@blackberry.com
2. Why develop for BlackBerry 10
The Future Platform for Mobile Computing
Rami Alzoubi
Senior Alliances and Business Development Manager
BlackBerry Middle East
August 30, 2015
3. 3
Storefront Reach
170 Markets, 23 currencies, 33 languages
supported
Over 5 Billion apps downloaded; 6 million apps
downloaded daily
Over 140,000 Apps approved for sale
UAE/KSA is on the top 10 Globally in terms
of downloads per country
Carrier Billing with Etisalat,STC,Mobily, Ooredo and
Watanyia -Kuwait
4. Where Developers Make Money
BlackBerry World has more paid
downloads per month than the Android
Market
Carrier Billing with more than 75
carriers globally
BlackBerry apps generate 40% more
revenue than Android apps EmailSocial
Blackberr
y.
com
PRTV/
Video
5. Where Developers Make Money
13% of BlackBerry developers make
over $100,000 from BlackBerry World
apps, which is considerably more than
Android or Apple developers…”
19% of BlackBerry World participants
say they had 1,000 or more downloads
over the 30 days”
Evans Data Corporation,
September 2011 Application Distribution Survey
EmailSocial
Blackberr
y.
com
PRTV/
Video
6. We Put Developers First
A better app store to sell from
Direct support for top developers
Dedicated developer events
A more active developer community
Earlier access to resources at
BlackBerry
The right tools, including Dev Alpha
devices.
C/C++/Qt
Native SDK
ActionScript
Adobe® AIR®
HTML5
WebWorks™
Jelly bean
Android™
Runtime
10. 1030 August 2015 Internal Use Only
And much more is
coming……
But if you don’t find your
app, still you can get it
through your favourite
store
So since its available let
us have it on our store
11. LET’S ROCK IT
Kareem ElSayed
Application Development Advisor - EMEA
kelsayed@blackberry.com
@kemobyte
12. BlackBerry Runtime for Android Apps
12
Open-source Jelly Bean (Android
4.2.2) Application Framework running
on top of BlackBerry 10 OS and
Libraries
Enables repackaged Android apps to
be installed and run inside it
Deep integration with BB native
framework to make Android apps
indistinguishable from native apps
Repackaging your Android app can
take as little as 3 minutes
developer.blackberry.com/android
BlackBerry 10 OS
QNX
Android Runtime
Dalvik VM
13. User discovers APK file,
reviews Disclaimer, and
chooses to install
User acknowledges
Settings and Permissions
Install initiates User can open app or
access via homescreen icon
Broader Reach:
APK Direct Install – A Closer Look
1 2 3 4
19. Unsupported APIs
19
Around 80% of all Android apps are compatible today on
BlackBerry 10.2.1 requiring no changes to source code
Not all Android APIs are supported
Hardware and OS dependencies
Limited to the personal perimeter
Full compatibility list is available at
developer.blackberry.com/android/apisupport
20. Push Support
20
Both c2dm and GCM are supported:
Client
Register with BlackBerry Push Services
Create android.cfg file
Package the android.cfg file within BAR
Sign app
Server
Push JSON payload to both Google &
BlackBerry app servers
Pushes are queued until app is open
developer.blackberry.com/android/apisupport/creating_push-enabled_android_apps.html
<?xml version="1.0" encoding="utf-8"?>
<android>
<push>
<appid>some_appID</appid>
<ppgurl>http://cpXXX.pushapi.eval.blackberry.com</ppgurl>
<tokenprefix>bb-</tokenprefix>
</push>
</android>
21. In-App Billing Support
21
Test using BlackBerry World sandbox
Use the same ItemID values for your
digitalSKU items in vendor portal
One-time purchases, no subscriptions, no
refunds through API
Transactions are not signed
java.lang.System.getProperty("os.name") returns ("qnx")
android.os.Build.DEVICE returns “Q10”, “Q5”, “Z10”, or “Z30”
developer.blackberry.com/android/apisupport/apisupport_inapp_payments_support.html
23. Verify Repackage Deploy
Repackaging Android Apps
developer.blackberry.com/android
Verify
- Run blackberry-apkpackager to generate a *.WRN file which will call out unsupported
APIs and repackage the APK to a BAR file
Repackage
- Run blackberry-signer to sign the BAR file
Deploy
- Run blackberry-deploy on an up-to-date OS, testing functions called out in the *.WRN file
32. 3230 August 2015 Public
ANDROID OFFER
PORT YOUR ANDROID
APP DURING THE
MOBILE SHOW AND WIN
BLACKBERRY10 DEVICE
STEPS TO WIN
appworld.blackberry.com/isvportal/home.do
Register @ BlackBerry World (FREE)
Send email to kelsayed@blackberry.com with
your BlackBerry ID for approval
Test your app on BlackBerry 10 Simulator
Repackage your App to a BAR file
Submit your App to BlackBerry World