Date post: | 28-Jan-2015 |
Category: |
Technology |
Upload: | tieturi-oy |
View: | 103 times |
Download: | 1 times |
28.1.2014
Copyright © Tieturi 1
Android 2014
Arto Santala, Tieturi Oy
What’s new?
• Android 4.4 KitKat
• Devices: Nexus 5, Nexus 7 mk2
• Google Glass
28.1.2014
Copyright © Tieturi 2
Smartphones Market Share 30.9.2013
• Worldwide smartphone market share: Approx. 80%
• Worldwide estimated tablet share 2014: 65% (Gartner)
20.1.2014
3
http://www.kantarworldpanel.com/global/News/news-articles/
Windows-Phone-nears-double-digit-share-across-Europe
Android versions
20.1.2014
4
Version Codename API Distributio
n
2.2 Froyo 8 1.3%
2.3.3 -
2.3.7
Gingerbre
ad
10 21.2%
3.2 Honeycom
b
13 0.1%
4.0.3 -
4.0.4
Ice Cream
Sandwich
15 16.9%
4.1.x Jelly
Bean
16 35.9%
4.2.x 17 15.4%
4.3 18 7.8%
4.4 KitKat 19 1.4%
28.1.2014
Copyright © Tieturi 3
Android versions
20.1.2014
5
Android 4.4 KitKat (API Level 19)
• Small visual changes• No more blue on black color, neutral gray for system color allowsdesigners more freedom
• Translucent elements give more actual screen estate to use
• Full immersive mode is great for games, maps, readers, etc
• More performance and battery life is never bad• Memory optimizations also for lower end devices
• Faster multitasking
• Whispers about ART vs Dalvik performance
• WebView based on Chromium (Might break older apps)
• Improvements for NFC (Host Card Emulation), Printing Api, Storage Access Framework, Bluetooth MAP (Message Access Profile), etc
28.1.2014
Copyright © Tieturi 4
KitKat – color change and immersive mode
Kitkat – Printing enhancements
• Printing and Storage APIs allow developers to print anycontent to any printer with a provider, for example overbluetooth/Wi-Fi
• To print generic content, output pdf format from your data, using
PdfDocument
• android.print package, PrintDocumentAdapter,
ParcelFileDescriptor
• android.printservices apis enable developer to createreusable and distributable modules that can be used byany app
• You can build and distribute print services as APKs, which users
can install on their devices
20.1.2014
8
28.1.2014
Copyright © Tieturi 5
New Print Menu
20.1.2014
9
KitKat – NFC Enhancements
• Host Card Emulation
• Existing model uses card emulation with a secure element inside
device: new element does emulation by host directly without
secure element
• Secure element requires support from carriers, HCE works directly
within smart device and app
• Android device can now emulate NFC cards, allowing Android to
emulate multiple NFC cards at the same time
• Potential for payment applications, Bonus cards, Tap&Pay, etc
• NFC Reader mode
• Restricts NFC activity to just reading interesting tags
• Android can now operate as both payment terminal, and payment client (bonus card/micropayment card)
20.1.2014
10
28.1.2014
Copyright © Tieturi 6
HCE in use by Tim Hortons Quickpay
service
20.1.2014
11
Planned KitKat devices
20.1.2014
12
• Already there:
• Nexus 5
• Nexus 4, Nexus 7, Nexus 10
• Google Play editions of Samsung Galaxy S4, HTC One
• Coming up soon:
• HTC One (incl. Mini, Max, Droid DNA)
• Sony XPeria Z, Z1, ZL, Z Ultra, Tablet Z
• LG G2
• Samsung Galaxy S5
• No updates for:
• Galaxy Nexus, HTC ONE X
• No schedule yet for Samsung but probable S3 & S4 at least
28.1.2014
Copyright © Tieturi 7
Devices
Nexus 5
Nexus 7 Mark II
Also, not easily available yet in Finland: Google Play Edition devices
ChromeCast
20.1.2014
14
• $35 stick that hooks into your televisionsHDMI port
• Makes any tv smart
• Can be controlled using Android devicesuch as tablet, smartphone, etc, or from Chrome browser
• Not really streaming video from tablet, instead Chromecast will
load its content directly using WiFi
• Currently supported are:
• Video and Audio using Google Play – from cloud
• Netflix
• YouTube
• HBO GO, Hulu Plus, Pandora, Vevo, Red Bull.TV, Songza, Plex,
PostTV, Viki, RealPlayer Cloud
28.1.2014
Copyright © Tieturi 8
Google Glass
20.1.2014
15
Coming this year!
Capabilities of Google Glass
• Lightweight, has screen prism reflected over eye
• Gyroscope
• Accelerometer
• Location provider
• Camera/Video capabilities (5Mpx camera, 720p video)
• Information cards (Mirror API)
• WiFi, Bluetooth connectivity
• 12GB usable memory
• Bone conduction transducerfor audio
28.1.2014
Copyright © Tieturi 9
What’s different with Glass?
• No internet connection – uses mobile device overbluetooth
• Voice trigger – OK Glass
• Gesture detector - Swipe
Glassware
• Originally Mirror API that required internet connection
• User activities pull static HTML5 info cards from RESTful web
services
• Now more powerful Glass Developer Kit (GDK)
• Offline apps with no access to services
• Full immersive mode screen
• Live cards, animated and changing when needed
• New kind of apps
• WorldLens shows text translations live
• Strava exercise app shows workout information live feed
28.1.2014
Copyright © Tieturi 10
Glassware Cards
• Glassware Cards are JSON+HTML5+CSS
• This content is provided by your server app on demand
• It needs to go through Google services first
20.1.2014
19
Simple card
{
"text": "Welcome to Tieturi Mobile Conference",
"notification": {
"level": "DEFAULT"
}
}
20.1.2014
20
28.1.2014
Copyright © Tieturi 11
HTML5 content
{
"html": "<article>
<section>
<p class=\"text-auto-size\">
This <em class=\"yellow\">paragraph</em>
auto-resizes according to the
<strong class=\"blue\">HTML</strong>
content length.
</p>
</section>
</article>",
"notification": {
"level": "DEFAULT"
}
}
20.1.2014
21
More cards
20.1.2014
22
28.1.2014
Copyright © Tieturi 12
Coming up in GDK
• Android environment, built with Android SDK + tools
• Subset of the smartphone/tablet functionality, currently based on
4.0 version of Android platform (APIlevel 15)
• Live cards – they update with new data real-time
• Simple text/images or graphics overlay
• Low or High frequency models available
20.1.2014
23
Coming up in GDK
• Immersions for even more power – works outside thetimeline
• Possible to process all input, not just react to gestures/voice
• Possible to capture prolonged user attention, for example game
• Like normal Android Activity, but 640x360 pixel screen
• Main apis and services are location, screen, camera, voice input
and gestures (tap, swipe, scroll, or raw touchpad access)
• On top of the timeline, taking
full control of the UI
20.1.2014
24
28.1.2014
Copyright © Tieturi 13
Hello World immersion
import android.app.Activity;
import android.os.Bundle;
import com.google.android.glass.app.Card;
public class HelloWorldActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Card card = new Card(this);
card.setText("Hello world!");
card.setFootnote("tieturi.fi");
setContentView(card.toView());
}
}
20.1.2014
25
Live Cards
20.1.2014
26
28.1.2014
Copyright © Tieturi 14
Alternatives for Glass developers
20.1.2014
27
Appears in the
timeline
Access to user
input
Control over
user interfaceMajor uses
Static Cards
Yes No No, must be in
the form of
aCard
Information
display without
user interaction
Live Cards
Yes Yes, but
timeline takes
precedence
Yes, no
restrictions
Rich and live
content with low
user interaction
Immersions
No Yes, no
restrictions
Yes, no
restrictions
Rich and live
content with
high user
interaction
What’s coming up next?
• Next Android major version in mid-2014
• Android 5.0?
• Lollipop? Lemon Cheese Cake? ;)
• Features?
• No clue, really, but this will be the year of Glass
20.1.2014
28