SlideShare ist ein Scribd-Unternehmen logo
1 von 59
Downloaden Sie, um offline zu lesen
Lick my 
Lollipop 
#MoMoSlo
Željko Plesac 
Android developer at 
Infinum SI 
zeljko.plesac@infinum.co
What are the main 
drawbacks of 
Android OS?
• Static design 
• Battery drainage 
• Over heating 
• Lagging (it’s really slow after few months of usage) 
• Decentralized - it lacks central Android body to 
address the grievance of its users. 
• Fragmentation
Solution for all of our problems?
Say hello to Android 5.0/L/Lollipop!
What’s new in 
Android 5.0. Lollipop?
Material design
• brand new Android design theme/principles 
• main goals: 
1. Material is the metaphor 
2. Bold, graphic, intentional 
3. Motion provides meaning
https://www.youtube.com/watch?v=Q8TXgCzxEnw
Interfaces should be “bold, graphic, intentional”
Logo
Surfaces and shadows Logo
Tiny details
One design to conquer them all
Enhanced notifications
New ways to control when and how you 
receive messages
High-priority notifications are presented to users for a short period 
of time with an expanded layout exposing possible actions
Priority mode for fewer disruptions
View and respond to messages directly 
from your lock screen
ART
• Android apps are deployed in Dalvik bytecode, which is 
portable, unlike native code. In order to be able to run the 
app on a device, the code has to be compiled to machine 
code. 
• older versions of Android use Dalvik VM 
• based on JIT (just in time) compilation 
• each time you run an app, the part of the code 
required for its execution is going to be translated 
(compiled) to machine code at that moment 
• it has a smaller memory footprint and uses less 
physical space on the device.
• Android 5.0 runs exclusively on the ART runtime, 
which offers ahead-of-time (AOT) compilation 
• The whole code of the app will be pre-compiled 
during install (once)
Why is this good?
• With no need for JIT compilation, the code should 
execute much faster 
• it doesn't hit the CPU as hard as just-in-time code 
compiling on Dalvik (also, results in less battery 
drain)
Any downsides?
• the generated machine code requires more space 
than the existing bytecode 
• the code is pre-compiled at install time, so the 
installation process takes a bit longer 
• larger memory footprint at execution time (fewer 
apps run concurrently)
Interested in statistics/benchmark?
• increased speed in CPU floating operations by 
approx. 20% 
• increased speed in RAM operations by approx. 10% 
• increased speed in storage operations by approx. 
10% 
• CPU integer operations - slight advantage goes to 
Dalvik 
• Install times on my Nexus 4, for one of our larger 
projects, jumped from ~17 s to ~25 s. 
(tested on Kitkat 4.4.4, should be even faster now)
Project Volta
Android 5.0 emphasizes 
improvements in battery life: 
1. Scheduling jobs 
2. Developer tools for 
battery usage
1. Scheduling jobs 
• Android 5.0 provides a new JobScheduler API that lets you 
optimize battery life by defining jobs for the system to run 
asynchronously (at a later time or under specified condition) 
• The app has non-user-facing work that you can defer. 
• The app has work you'd prefer to do when the unit is 
plugged in. 
• The app has a task that requires network access or a Wi-Fi 
connection. 
• The app has a number of tasks that you want to run as a 
batch on a regular schedule.
• You can schedule the task to run under specific 
conditions, such as: 
• Start when the device is charging 
• Start when the device is connected to an 
unmetered network 
• Start when the device is idle 
• Finish before a certain deadline or with a 
minimum delay
2. Developer tools for battery usage 
• The new dumpsys batterystats command generates interesting 
statistical data about battery usage on a device, organized by unique 
user ID (UID): 
• History of battery related events 
• Global statistics for the device 
• Approximate power use per UID and system component 
• Per-app mobile ms per packet 
• System UID aggregated statistics 
• App UID aggregated statistics
WebView updates
• since the release of Android 4.4 
KitKat, WebView has been 
based on Chromium (it has the 
same rendering and Javascript 
engine as Chrome for Android) 
• WebView is now unbundled from 
the system and will be regularly 
updated through Google Play. 
• every mobile device with 
Android 5 or later should have 
not only the same but the latest 
browsing engine in the WebView
Multiple network 
connections
• Android 5.0 provides new multi-networking APIs 
that let your app dynamically scan for available 
networks with specific capabilities, and establish a 
connection to them 
• useful when your app requires a specialized network, such 
as an SUPL, MMS, or carrier-billing network, or if you want to 
send data using a particular type of transport protocol.
New Camera and 
Audio API
• Android 5.0 introduces the new 
android.hardware.camera2 API to facilitate fine-grain 
photo capture and image processing 
• Use the new notification and media APIs to ensure 
that the system UI knows about your media 
playback and can extract and show album art. 
• Controlling media playback across a UI and a 
service is now a lot easier 
• ability for apps to browse the media content library 
of another app
Security
• encryption is automatically turned on to help 
protect data on lost or stolen devices 
• Android Smart Lock - secure your phone or tablet 
by pairing it with a trusted device like your 
wearable or even your car
Cross device 
synchronization
• ability to pair up different devices (tablet + Android 
wear + smartphone + Android TV) in one system 
• applications are optimised for every device 
• songs, photos, apps, and even recent searches 
from one of your Android devices can be 
immediately enjoyed across all of your Android 
devices
Multi dex support
• Dalvik VM has one major limitation which we didn’t 
discuss yet: 
APK HAS UPPER LIMIT OF 
65,536 METHODS!
• ART natively supports loading multiple .dex files 
from application APK files. 
• ART performs pre-compilation at application install 
time which scans for classes(..N).dex files and 
compiles them into a single .oat file for execution 
by the Android device 
• Android build tools construct a primary dex 
(classes.dex) and supporting (classes2.dex, 
classes3.dex) as needed. The build system will 
then package them into an APK file for distribution.
and much more…
• BLE Peripheral Mode - Android devices can now function in 
Bluetooth Low Energy (BLE) peripheral mod 
• Managed provisioning and unified view of apps 
• OpenGL ES 3.1 and Android Extension Pack 
• 64-bit support 
• Print preview and page range support 
• better integration with OK Google 
• Concurrent documents in Overview 
• Android Work
Bonus :)
• Android Studio 1.0 RC 1 has been released to 
Canary channel 
• Material design has already been integrated to 
Android Support Library 
• Google Play Services Granular Dependency 
Management - you’ll be able to depend only on the 
parts of Google Play services that you use by 
utilizing separate libraries for each API.
Fun times are coming!
Thanks!
zeljko.plesac@infinum.co 
skype: zeljko.plesac 
twitter: @ZeljkoPlesac
Fin.

Weitere ähnliche Inhalte

Was ist angesagt?

Developing Tizen OS Based Solutions (IDF13) - Chris Norman
Developing Tizen OS Based Solutions (IDF13) - Chris NormanDeveloping Tizen OS Based Solutions (IDF13) - Chris Norman
Developing Tizen OS Based Solutions (IDF13) - Chris Norman
Ryo Jin
 
Android Training - Part 2
Android Training - Part 2Android Training - Part 2
Android Training - Part 2
Tbldevelopment
 
Kåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azureKåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azure
Nordic Infrastructure Conference
 
Firefox operating system
Firefox operating systemFirefox operating system
Firefox operating system
Nishant Mehare
 
Virtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfisterVirtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfister
Digicomp Academy AG
 

Was ist angesagt? (20)

AI & Computer Vision (OpenVINO) - CPBR12
AI & Computer Vision (OpenVINO) - CPBR12AI & Computer Vision (OpenVINO) - CPBR12
AI & Computer Vision (OpenVINO) - CPBR12
 
Developing Tizen OS Based Solutions (IDF13) - Chris Norman
Developing Tizen OS Based Solutions (IDF13) - Chris NormanDeveloping Tizen OS Based Solutions (IDF13) - Chris Norman
Developing Tizen OS Based Solutions (IDF13) - Chris Norman
 
Headless Android Strikes Back!
Headless Android Strikes Back!Headless Android Strikes Back!
Headless Android Strikes Back!
 
Citrix Desktop Master Class - Unidesk App Layering - Feb 2017
Citrix Desktop Master Class - Unidesk App Layering - Feb 2017Citrix Desktop Master Class - Unidesk App Layering - Feb 2017
Citrix Desktop Master Class - Unidesk App Layering - Feb 2017
 
Android Training - Part 2
Android Training - Part 2Android Training - Part 2
Android Training - Part 2
 
Kåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azureKåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azure
 
Firefox operating system
Firefox operating systemFirefox operating system
Firefox operating system
 
Droid con slides 2013 mobileci-v1.0
Droid con slides 2013  mobileci-v1.0Droid con slides 2013  mobileci-v1.0
Droid con slides 2013 mobileci-v1.0
 
Enabling Cross-platform Deep Learning Applications with Intel OpenVINO™
Enabling Cross-platform Deep Learning Applications with Intel OpenVINO™Enabling Cross-platform Deep Learning Applications with Intel OpenVINO™
Enabling Cross-platform Deep Learning Applications with Intel OpenVINO™
 
Firefox os ppt
Firefox os pptFirefox os ppt
Firefox os ppt
 
FTF2014 - Android Accessory Protocol
FTF2014 - Android Accessory ProtocolFTF2014 - Android Accessory Protocol
FTF2014 - Android Accessory Protocol
 
OpenVINO introduction
OpenVINO introductionOpenVINO introduction
OpenVINO introduction
 
Sami laiho - What's new in windows 8.1
Sami laiho - What's new in windows 8.1Sami laiho - What's new in windows 8.1
Sami laiho - What's new in windows 8.1
 
Windows 8 Introduction
Windows 8 IntroductionWindows 8 Introduction
Windows 8 Introduction
 
Virtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfisterVirtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfister
 
Application Virtualization Smackdown
Application Virtualization SmackdownApplication Virtualization Smackdown
Application Virtualization Smackdown
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 4
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 4Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 4
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 4
 
Inter-process audio options on iOS
Inter-process audio options on iOSInter-process audio options on iOS
Inter-process audio options on iOS
 
Performance testing of mobile apps
Performance testing of mobile appsPerformance testing of mobile apps
Performance testing of mobile apps
 
Develop and optimize CV/DL applications with Intel OpenVINO toolkit
Develop and optimize CV/DL applications with Intel OpenVINO toolkitDevelop and optimize CV/DL applications with Intel OpenVINO toolkit
Develop and optimize CV/DL applications with Intel OpenVINO toolkit
 

Ähnlich wie Lick my Lollipop

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 
ABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded SystemsABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded Systems
Benjamin Zores
 
Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01
Santosh Sh
 

Ähnlich wie Lick my Lollipop (20)

Android Lollipop
Android LollipopAndroid Lollipop
Android Lollipop
 
CNIT 128 Ch 4: Android
CNIT 128 Ch 4: AndroidCNIT 128 Ch 4: Android
CNIT 128 Ch 4: Android
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
128-ch4.pptx
128-ch4.pptx128-ch4.pptx
128-ch4.pptx
 
Enhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_osEnhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_os
 
Enhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_osEnhancing and modifying_the_core_android_os
Enhancing and modifying_the_core_android_os
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
Android OS
Android OSAndroid OS
Android OS
 
Android quick talk
Android quick talkAndroid quick talk
Android quick talk
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 
ABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded SystemsABS 2014 - The Growth of Android in Embedded Systems
ABS 2014 - The Growth of Android in Embedded Systems
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdf
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
document
documentdocument
document
 

Kürzlich hochgeladen

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Kürzlich hochgeladen (20)

Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 

Lick my Lollipop

  • 1. Lick my Lollipop #MoMoSlo
  • 2. Željko Plesac Android developer at Infinum SI zeljko.plesac@infinum.co
  • 3. What are the main drawbacks of Android OS?
  • 4. • Static design • Battery drainage • Over heating • Lagging (it’s really slow after few months of usage) • Decentralized - it lacks central Android body to address the grievance of its users. • Fragmentation
  • 5. Solution for all of our problems?
  • 6.
  • 7. Say hello to Android 5.0/L/Lollipop!
  • 8.
  • 9. What’s new in Android 5.0. Lollipop?
  • 11. • brand new Android design theme/principles • main goals: 1. Material is the metaphor 2. Bold, graphic, intentional 3. Motion provides meaning
  • 13. Interfaces should be “bold, graphic, intentional”
  • 14. Logo
  • 17. One design to conquer them all
  • 19. New ways to control when and how you receive messages
  • 20. High-priority notifications are presented to users for a short period of time with an expanded layout exposing possible actions
  • 21. Priority mode for fewer disruptions
  • 22. View and respond to messages directly from your lock screen
  • 23. ART
  • 24. • Android apps are deployed in Dalvik bytecode, which is portable, unlike native code. In order to be able to run the app on a device, the code has to be compiled to machine code. • older versions of Android use Dalvik VM • based on JIT (just in time) compilation • each time you run an app, the part of the code required for its execution is going to be translated (compiled) to machine code at that moment • it has a smaller memory footprint and uses less physical space on the device.
  • 25. • Android 5.0 runs exclusively on the ART runtime, which offers ahead-of-time (AOT) compilation • The whole code of the app will be pre-compiled during install (once)
  • 26. Why is this good?
  • 27. • With no need for JIT compilation, the code should execute much faster • it doesn't hit the CPU as hard as just-in-time code compiling on Dalvik (also, results in less battery drain)
  • 29. • the generated machine code requires more space than the existing bytecode • the code is pre-compiled at install time, so the installation process takes a bit longer • larger memory footprint at execution time (fewer apps run concurrently)
  • 31. • increased speed in CPU floating operations by approx. 20% • increased speed in RAM operations by approx. 10% • increased speed in storage operations by approx. 10% • CPU integer operations - slight advantage goes to Dalvik • Install times on my Nexus 4, for one of our larger projects, jumped from ~17 s to ~25 s. (tested on Kitkat 4.4.4, should be even faster now)
  • 33. Android 5.0 emphasizes improvements in battery life: 1. Scheduling jobs 2. Developer tools for battery usage
  • 34. 1. Scheduling jobs • Android 5.0 provides a new JobScheduler API that lets you optimize battery life by defining jobs for the system to run asynchronously (at a later time or under specified condition) • The app has non-user-facing work that you can defer. • The app has work you'd prefer to do when the unit is plugged in. • The app has a task that requires network access or a Wi-Fi connection. • The app has a number of tasks that you want to run as a batch on a regular schedule.
  • 35. • You can schedule the task to run under specific conditions, such as: • Start when the device is charging • Start when the device is connected to an unmetered network • Start when the device is idle • Finish before a certain deadline or with a minimum delay
  • 36. 2. Developer tools for battery usage • The new dumpsys batterystats command generates interesting statistical data about battery usage on a device, organized by unique user ID (UID): • History of battery related events • Global statistics for the device • Approximate power use per UID and system component • Per-app mobile ms per packet • System UID aggregated statistics • App UID aggregated statistics
  • 38. • since the release of Android 4.4 KitKat, WebView has been based on Chromium (it has the same rendering and Javascript engine as Chrome for Android) • WebView is now unbundled from the system and will be regularly updated through Google Play. • every mobile device with Android 5 or later should have not only the same but the latest browsing engine in the WebView
  • 40. • Android 5.0 provides new multi-networking APIs that let your app dynamically scan for available networks with specific capabilities, and establish a connection to them • useful when your app requires a specialized network, such as an SUPL, MMS, or carrier-billing network, or if you want to send data using a particular type of transport protocol.
  • 41. New Camera and Audio API
  • 42. • Android 5.0 introduces the new android.hardware.camera2 API to facilitate fine-grain photo capture and image processing • Use the new notification and media APIs to ensure that the system UI knows about your media playback and can extract and show album art. • Controlling media playback across a UI and a service is now a lot easier • ability for apps to browse the media content library of another app
  • 44. • encryption is automatically turned on to help protect data on lost or stolen devices • Android Smart Lock - secure your phone or tablet by pairing it with a trusted device like your wearable or even your car
  • 46. • ability to pair up different devices (tablet + Android wear + smartphone + Android TV) in one system • applications are optimised for every device • songs, photos, apps, and even recent searches from one of your Android devices can be immediately enjoyed across all of your Android devices
  • 48.
  • 49.
  • 50. • Dalvik VM has one major limitation which we didn’t discuss yet: APK HAS UPPER LIMIT OF 65,536 METHODS!
  • 51. • ART natively supports loading multiple .dex files from application APK files. • ART performs pre-compilation at application install time which scans for classes(..N).dex files and compiles them into a single .oat file for execution by the Android device • Android build tools construct a primary dex (classes.dex) and supporting (classes2.dex, classes3.dex) as needed. The build system will then package them into an APK file for distribution.
  • 53. • BLE Peripheral Mode - Android devices can now function in Bluetooth Low Energy (BLE) peripheral mod • Managed provisioning and unified view of apps • OpenGL ES 3.1 and Android Extension Pack • 64-bit support • Print preview and page range support • better integration with OK Google • Concurrent documents in Overview • Android Work
  • 55. • Android Studio 1.0 RC 1 has been released to Canary channel • Material design has already been integrated to Android Support Library • Google Play Services Granular Dependency Management - you’ll be able to depend only on the parts of Google Play services that you use by utilizing separate libraries for each API.
  • 56. Fun times are coming!
  • 59. Fin.