July 22, 2013
Internal Use Only
P O R T I N G A N D R O I D
A P P S
B L A C K B E R R Y Itthipon Dilokrattanapijit idilok@blackberry.com BlackBerry Developer Evangelist Confidential
1 0
T O
0
July 22, 2013
Internal Use Only
Contents • Android Port Apps on BlackBerry 10 • Porting Tools • Signing Keys & Debug Tokens
• Program Incentive
BlackBerry® Z10 smartphone
• Demo
1
Internal Use Only
July 22, 2013
Android Port Apps on BlackBerry 10 • BlackBerry 10 has Android Runtime that support running Android ported app. • BlackBerry 10 OS version 10.1 supports Android Gingerbread 2.3.3 (API Level 10) • BlackBerry 10 OS version 10.2 (beta) supports Android Jelly Bean 4.2.2 • APK file has to be repackaged to BAR file in order to be able to deploy and run on BlackBerry10 device or simulator
2
3
July 22, 2013
Internal Use Only
Android Run*me & Adobe AIR Native & HTML5 Apps HTML/CSS
Cascades QML
JavaScript WebKit
JavaScript
C++
Android Apps
Adobe AIR Apps
Open GL
Java
Action Script
Open AL
.apk
.swf
C/C++
Android Runtime
AIR Runtime
Platform APIs Qt C++ Network
Storage
C/C++ Audio/Video
Graphics
QNX Kernel
Push
i18n
…
Internal Use Only
July 22, 2013
Porting Tools • Choose one of the there tools available to repackage your app to BAR file format 1. Plug-in for Android Development Tools (Eclipse Plug-in) 2. Online Packager 3. Command-line Tool • Tool can help check compatibility and repackage app for running on BlackBerry 10 • Some of Android SDK may not be supported or only partially supported by BlackBerry Runtime for Android Apps so check API documents on https://developer.blackberry.com/android/apisupport/
4
Internal Use Only
Signing Keys & Debug Tokens • Code signing key to sign your apps before distributing them on BlackBerry World • Debug Token is used for running unsigned app on device • A debug token is specific to one device indentified by PIN • A debug token is valid for 30 days • Get Signing key at https://www.blackberry.com/SignedKeys/
July 22, 2013
5
Internal Use Only
Let me show you!
July 22, 2013
6
Internal Use Only
Still unsure? Only for participants of the Mobile Development Apprentice, there will be two Android-focused workshops:
Date: 22 August 2013, Thursday Time: 09:00am – 04:00pm Venue: Software Park, 3rd floor Register @ http://bit.ly/bbAndroidTH01
Date: 28 September 2013, Saturday Time: 09:00am – 04:00pm Venue: Software Park, 3rd floor Register @ http://bit.ly/bbAndroidTH02
July 22, 2013
7
Internal Use Only
July 22, 2013
SUCCESS! You have app ported, now what? Only open to attendees of the Android Clinic on 28 September, submit into BlackBerry World within 14 days and stand a chance to win a BlackBerry Z10 smartphone! Steps to your BlackBerry Z10 smartphone: 1. Get your vendor account approved: www.bit.ly/bbvend • Email devmarketingap@blackberry.com for expedited approval 2. Submit your application(s) 3. Inform BlackBerry of your AppID(s) • Email to DevMarketingAP@BlackBerry.com • Indicate “TH Apprentice Android Clinic” in your subject 4. Await the good news by 18 October 2013, Friday Terms & Conditions • Application(s) must be up on sale in BlackBerry World (BlackBerry's application store) by 11 October 2013, Friday, to qualify. • Participants have to email AppID(s) to DevMarketingAP@BlackBerry.com once application is up on sale, or by 11 October 2013, Friday (whichever earlier). • Winner of the BlackBerry Z10 smartphone will be notified by 18 October 2013, Friday.
8
Internal Use Only
Questions & Answers Useful Links • http://bit.ly/bbAndroidGetStarted • http://developer.blackberry.com/android • http://developer.blackberry.com/android/tools • http://developer.blackberry.com/android/apisupport • http://developer.blackberry.com • http://developer.blackberry.com/blackberrybuilders/prepare/ web_training.html OR http://bit.ly/bbWebBasedTraining Community & Forums • www.facebook.com/bbdevthailand • http://www.blackberryclubthailand.com
July 22, 2013
9
July 22, 2013
Internal Use Only
P O R T I N G A N D R O I D
A P P S
B L A C K B E R R Y Itthipon Dilokrattanapijit idilok@blackberry.com BlackBerry Developer Evangelist Confidential
1 0
T O
10