Technical Session
Attila CsipaTechnology Wizard, Microsoft
Nokia X Can we have the cake and eat it, too?
Nokia X
Access to the world of
Android apps+
Nokia X
Smoother, faster flow
between your favourite
apps
+
Nokia X
Standout Design that’s built to last
Source: App Annie* download data from Google Play
OF TOP ANDROID DOWNLOAD* COUNTRIES WERE GROWTH MARKETS (INDIA, RUSSIA, BRAZIL).
3/5
OF THE GROWTH MARKETS MADE IT TO THE TOP 10 REVENUE COUNTRIES
0/10
Nokia X Developer Opportunity
Nokia X In App Payment broadest reach
■Full Country coverage
■Partial Country coverage
Live Operators
■No Country coverage
60 Markets / 160+ Operators!
Nokia XPortfolio
Nokia X Technical Specifications
Nokia X+Nokia X Nokia XL4” screen (800*480)1GHz Dual core CPU
3MP camera7.2Mbps 3G, Dual (micro) SIM
100 Mbps Wi-FiFastlane UI
4GB internal memory, 512MB RAM, 32GB Micro SD slot
API level 16 (Android version 4.1.2)
4” screen (800*480)1GHz Dual core CPU
3MP camera7.2Mbps 3G, Dual (micro) SIM
100 Mbps Wi-FiFastlane UI
4GB internal memory, 768MB RAM, 32GB Micro SD slot
API level 16 (Android version 4.1.2)
5” screen (800*480)1GHz Dual core CPU
5MP AF cameraFront facing camera
7.2Mbps 3G, Dual (micro) SIM100 Mbps Wi-Fi
Fastlane UI4GB/768MB memory/3GB MicroSD slot
API level 16 (Android version 4.1.2)
Nokia X software PlatformA new platform built with Android Open Source Project at its core.. It combines a popular smartphone software base with Nokia’s global reach and strength to create new opportunities for your apps.
7
Android Open Source Project 4.1.2 (API level 16)
Android 3rd party applications
Nokia X software Platform 1.0 Nokia
StoreNokia
UX
In-App Payment
API
HEREAPI
Nokia Notifications
API
Nokia X What is it all about
Nokia X = Android – Google Services + Nokia X ServicesAPI level 16 Google Play Services
Google+GCMGoogle MapsGoogle *
Nokia In-app PaymentHERE MapsNokia Push Notifications…OneDriveMixRadioOutlook.comLive SDK
Nokia X APIsA new platform built with Android Open Source Project at its core.. It combines a popular smartphone software base with Nokia’s global reach and strength to create new opportunities for your apps.
HERE Maps Nokia Push Notifications Nokia In-App Payments
HERE maps provides complete offline experiences like no other maps service.
Simple yet powerful notifications service.
World’s largest operator billing network.
Nokia X 100 000+ Android applications testedA new platform built with Android Open Source Project at its core.. It combines a popular smartphone software base with Nokia’s global reach and strength to create new opportunities for your apps.
75% Android applications work unmodified25% require small changes
Nokia X service APIsNokia In-App Payment
HERE Maps
Nokia Notifications
(replace Google APIs)
Application ready to publish in Nokia Store.
No porting, no coding just publish!
Nokia X Analyser developer.nokia.com
Submit .apk to Nokia Store
75% work unmodified
Port using Nokia X
Services SDK
25% needa little retouch
Up to8h porting*
Nokia X Compatibility, it’s a no brainerNokia testing has shown that about 75% of Android apps will run properly without any modifications.
Plus we give you easy to use online and offline tools to check your applications within seconds.
*For most apps, depending on application complexity and number of used APIs that need porting
Nokia X Verify general compatibility Check if your Android app is compatible with Nokia X software platform IN SECONDS.
Provide quick and easy porting steps highlights common failure cases for easy porting.
Nokia X Analyser engine is verified with 10K Android apps with 99% accuracy!
Nokia X Analyser scans the standard Android application packages (apk files) for the usage of
• Unsupported Google service APIs ( maps, notifications and in-app billing)
• NFC • Minimum API version required
Based on the above APIs’ usage, the application is flagged as compatible or not.Failure cases are surfaced to developers with pointers to fix using SDK plugins
NFC API Level
Analyser Rules Engine
Analyser UI
Android app (.apk) parser
G maps to HERE maps
G notifications to NNA
G billing to NIAP
7/10/2014 16
7/10/2014 17
19
Nokia X Install the Nokia X Services SDK
• Plugins/Extensions to Google’s ADT environment to enable Nokia X app development from Eclipse IDE.
• Nokia differentiation services targeted – In App Payment (NIAP), Notifications (NNA), HERE maps
Nokia X Differentiator Plugins
• AVD support for Nokia X device in Android SDK so that testing/debugging can be done in the emulator
Nokia X DeviceEmulation
Nokia X EmulatorAn API level 16 Android Virtual Device (AVD) with the Nokia X services enabled
Both ARM & X86 images (really fast!)
Works with ADB!
Nokia X Adapting to Nokia Services / Porting
Baseline Platform Android 4.1
-------------------------------Nokia X Software Platform 1.0
based on AOSP V 4.1
Google Maps
Google In-App Billing
Google Cloud Messaging
Nokia X One APK approach
• The Google and Nokia services can coexist in the applications• Make sure you fail gracefully!
• You can load and use the one that is present at runtime
• A one time investment in terms of developer effort
• Allows submission of same APK to Google Play and the Nokia Store
• Address more users with a single release
• Simultaneous release of same version (QA permitting) in all stores
Nokia X One APK approach – common manifest<permission android:name="(your_app_pkg).permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="(your_app_pkg).permission.C2D_MESSAGE" />
<uses-permission android:name="com.nokia.pushnotifications.permission.RECEIVE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<application ... > ...
<receiver android:name="com.nokia.push.PushBroadcastReceiver" android:permission="com.nokia.pushnotifications.permission.SEND">
<intent-filter>
<action android:name="com.nokia.pushnotifications.intent.RECEIVE" />
<action android:name="com.nokia.pushnotifications.intent.REGISTRATION" />
<category android:name="(your_app_pkg)" />
</intent-filter>
</receiver>
<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="(your_app_pkg)" />
</intent-filter>
</receiver>
<service android:name=".PushIntentService" />
<service android:name=".GCMIntentService" />
</application>
10.7.2014 25
Nokia X One APK approach – Runtime detectiontry {
PushRegistrar.checkDevice(this);
// (continue with Nokia Notifications logic)
} catch (UnsupportedOperationException e1) {
try {
GCMRegistrar.checkDevice(this);
// (continue with GCM logic)
} catch (UnsupportedOperationException e2) {
// neither notification service is available
}
}
10.7.2014 26
Nokia X Polish and UI considerations
Adopting Android UI to Nokia X UI requires tests, functional testing
Nokia X UI Menu
Android’s Menu (3.0 and older) is replaced by Nokia’s Options menu.
Nokia X Remote Device Access (RDA)
• Browser based service for developers to test their apps and services remotely in wide range of real, physical Nokia devices
• Natural extension for development and testing done with SDK and emulator
• FREE of charge
• ~150 devices in the service, from low to high end
• Supported platforms:• Nokia X Software Platform
• Windows Phone 8
• Asha Software Developer Platform / Series 40
10.7.2014 31
10.7.2014 32
Nokia X It’s free!
Registration
Publishing (NO yearly fees!)
Analyser
Service SDK
Remote Device Access
Nokia X Reap the rewards (Profit!)
Nokia In Application Payment
Downloads and Ads
Nokia Developer Offers
DVLUP developer program
Do a Nokia X flavour of your SpaceApp(!)
DVLUP Nokia’s rewards programComplete App challenges – Earn Points – get cool stuff
Targeted & Curated App Challenges
Engage via Gamification & Rewards
Over $5M worth of Rewards and Campaigns
Redeem earned points for Phones, Accessories, Dev Tools and App Promotion
Developer offers for Nokia X
Registration via developer.nokia.com or events. Fulfillment via DVLUP.
Xamarin – Nokia X components (free)Hockeyapp – Crash Reports, Feedback, Distribution, Analytics – 3 months
Infragistics – UI libraries -1 year
Bugsense – Crash analytics and bug reporting – 3 months
Nokia X Summary Nokia X is Nokia’s new platform with Android at it’s coreNokia X porting is easy and fastNokia X opens new markets to your existing apps
Nokia X Q & A
39
Nokia X Thanks for your time
GO! PORT