SlideShare a Scribd company logo
Post IO Meetup
Introduction to Android M
Amrit Sanjeev
Organizer, Blrdroid
Who am I ?
What’s new in Android M?
Top 10 things for developers
M - preview timeline
● Schedule subject to change
● Updates delivered over-the-air (OTA)
● Final M release targeting Q3 2015
App permissions
● Changes to runtime permission
● Reduced install and update friction.
● Behavior remains same for prev versions of SDK
○ grant upfront
○ but can deny later .
● Best practice : for absolutely necessary permission ask user
for it during setup .
App permissions
targetSdkVersion < M targetSdkVersion = M+
Pre-M device
Install time permission dialog
All permissions granted
M device
Install time permission dialog
All permissions granted
User can revoke permissions
No dialog during install
No permissions granted initially
App can request permissions
User can revoke permissions
Fingerprint Api
● new fingerprint api
● hardware support
● updated lockscreen
● multi finger support
● Ui is completely controlled by the app
● Can fall back to keygaurd manager
● Authenticate user without sharing any credential
● Better battery back up when idle
● Standby can improve upto 2x
● Uses sensors to detect if the phone is idle
● Postpones non important tasks that wake up the device
● Resumes when the device is moves
Doze mode
● Apps that are not used for long periods
● Lose access to network and background tasks
● Avoid continuous battery drain for unused stuff
● Resumes when the device plugs in or you use the app .
App standby
Assistant support
● Provide system additional info about the current screen
○ Context
○ Metadata
● can be at application or activity level .
● eg) google now on tap
Data binding
● view to object mapping
● can apply transformation
● better performance
dependencies {
classpath "com.android.tools.build:gradle:1.3.0-beta1"
classpath "com.android.databinding:dataBinder:1.0-rc0"
}
<variable name="user" type="com.example.User"/>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@{user.firstName}"/>
Material design library
● Super useful
● Lots of boilerplate code removed
More in the next talk
Applinks
● directly open links in app without intent chooser
● used when you own the domain and app
● statements.json file in server under .well-known folder
○ apk package name
○ certificate hash
● intent filter has android auto-verify = true
● override is possible
Direct Share
Thank you!
Amrit Sanjeev
@amsanjeev
www.blrdroid.org

More Related Content

PDF
Introduction to Firebase on Android
PDF
Introduction, Examples - Firebase
PDF
Firebase hosting
PPTX
Getting Started with Firebase Cloud Functions
PDF
Intro firebase
PDF
Firebase Adventures - Going above and beyond in Realtime
PPTX
What is new in Firebase?
PDF
Firebase Basics - Dialog Demo for Group Tech Staff
Introduction to Firebase on Android
Introduction, Examples - Firebase
Firebase hosting
Getting Started with Firebase Cloud Functions
Intro firebase
Firebase Adventures - Going above and beyond in Realtime
What is new in Firebase?
Firebase Basics - Dialog Demo for Group Tech Staff

What's hot (20)

PDF
Alex Pshul: What We Learned by Testing Execution of 300K Messages/Min in a Se...
PDF
Firebase Code Lab - 2015 GDG Buffalo DevFest
PDF
Firebase for the Web
PPTX
Meet with Meteor
PDF
Introducing Firebase by Google
PPTX
Firebase in action
PDF
Understanding meteor
PPTX
Azure Web Jobs
PDF
Meteor.js for DOers
PDF
Angular meteor for angular devs
PPTX
What is new in ASP.NET Core
PPTX
Firebase Dev Day Bangkok: Keynote
PPTX
Firebase Cloud Functions
PPTX
Meteor Introduction - Ashish
PPTX
Enterprise level application in 5 min
PPTX
Meteor intro-2015
PDF
Tech Talk on ReactJS
PDF
From MEAN to the MERN Stack
PPT
Dependency Injection in Silverlight
PDF
Firebase - realtime backend for mobile app and IoT
Alex Pshul: What We Learned by Testing Execution of 300K Messages/Min in a Se...
Firebase Code Lab - 2015 GDG Buffalo DevFest
Firebase for the Web
Meet with Meteor
Introducing Firebase by Google
Firebase in action
Understanding meteor
Azure Web Jobs
Meteor.js for DOers
Angular meteor for angular devs
What is new in ASP.NET Core
Firebase Dev Day Bangkok: Keynote
Firebase Cloud Functions
Meteor Introduction - Ashish
Enterprise level application in 5 min
Meteor intro-2015
Tech Talk on ReactJS
From MEAN to the MERN Stack
Dependency Injection in Silverlight
Firebase - realtime backend for mobile app and IoT
Ad

Similar to Introduction to Android M (20)

PPTX
What's new in android M(6.0)
PDF
Android Jam - Services & Notifications - Udacity Lesson 6
PPTX
Google I/O 2019 - what's new in Android Q and Jetpack
PPTX
[Wroclaw #1] Android Security Workshop
PDF
Ron Munitz - The Ultimate Android Security Checklist - Codemotion Rome 2015
PDF
The Ultimate Android Security Checklist (Codemotion Tel-Aviv, 2014)
PDF
Android Best Practices - Thoughts from the Trenches
PDF
Sidiq Permana - Building For The Next Billion Users
PPTX
GDG Devfest 2016 session on Android N
PDF
AndroidManifest
PDF
Android development - the basics, MFF UK, 2012
PPT
What is Android L ?
PDF
The Ultimate Android Security Checklist (AnDevCon Boston 2014)
PDF
The Ultimate Android Security Checklist (Mdevcon 2014)
PDF
Unit Kali NetHunter is the official Kali Linux penetration testing platform f...
PPT
Google I/O conference: Announcement of Android N release
PDF
Unit 1 Kali Nethunter Android: OS, Debub Bridge
PDF
CodeMotion tel aviv 2015 - burning marshmallows
PDF
Android - Open Source Bridge 2011
PPTX
5 beginner android application development foundation
What's new in android M(6.0)
Android Jam - Services & Notifications - Udacity Lesson 6
Google I/O 2019 - what's new in Android Q and Jetpack
[Wroclaw #1] Android Security Workshop
Ron Munitz - The Ultimate Android Security Checklist - Codemotion Rome 2015
The Ultimate Android Security Checklist (Codemotion Tel-Aviv, 2014)
Android Best Practices - Thoughts from the Trenches
Sidiq Permana - Building For The Next Billion Users
GDG Devfest 2016 session on Android N
AndroidManifest
Android development - the basics, MFF UK, 2012
What is Android L ?
The Ultimate Android Security Checklist (AnDevCon Boston 2014)
The Ultimate Android Security Checklist (Mdevcon 2014)
Unit Kali NetHunter is the official Kali Linux penetration testing platform f...
Google I/O conference: Announcement of Android N release
Unit 1 Kali Nethunter Android: OS, Debub Bridge
CodeMotion tel aviv 2015 - burning marshmallows
Android - Open Source Bridge 2011
5 beginner android application development foundation
Ad

More from amsanjeev (7)

PDF
No sql databases blrdroid devfest 2016
PDF
Io13 deep dive location api
PPTX
Jelly bean aka Andorid 4.1
PPTX
Mobile UX
PPTX
Location Based Services - An Overview
PPTX
NFC - quick primer
PPTX
Introduction to ICS
No sql databases blrdroid devfest 2016
Io13 deep dive location api
Jelly bean aka Andorid 4.1
Mobile UX
Location Based Services - An Overview
NFC - quick primer
Introduction to ICS

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Network Security Unit 5.pdf for BCA BBA.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
A Presentation on Artificial Intelligence
PPT
Teaching material agriculture food technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
1. Introduction to Computer Programming.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Diabetes mellitus diagnosis method based random forest with bat algorithm
Network Security Unit 5.pdf for BCA BBA.
“AI and Expert System Decision Support & Business Intelligence Systems”
A Presentation on Artificial Intelligence
Teaching material agriculture food technology
Big Data Technologies - Introduction.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Agricultural_Statistics_at_a_Glance_2022_0.pdf
MYSQL Presentation for SQL database connectivity
Tartificialntelligence_presentation.pptx
Programs and apps: productivity, graphics, security and other tools
The Rise and Fall of 3GPP – Time for a Sabbatical?

Introduction to Android M

  • 1. Post IO Meetup Introduction to Android M Amrit Sanjeev Organizer, Blrdroid
  • 3. What’s new in Android M? Top 10 things for developers
  • 4. M - preview timeline ● Schedule subject to change ● Updates delivered over-the-air (OTA) ● Final M release targeting Q3 2015
  • 5. App permissions ● Changes to runtime permission ● Reduced install and update friction. ● Behavior remains same for prev versions of SDK ○ grant upfront ○ but can deny later . ● Best practice : for absolutely necessary permission ask user for it during setup .
  • 6. App permissions targetSdkVersion < M targetSdkVersion = M+ Pre-M device Install time permission dialog All permissions granted M device Install time permission dialog All permissions granted User can revoke permissions No dialog during install No permissions granted initially App can request permissions User can revoke permissions
  • 7. Fingerprint Api ● new fingerprint api ● hardware support ● updated lockscreen ● multi finger support ● Ui is completely controlled by the app ● Can fall back to keygaurd manager ● Authenticate user without sharing any credential
  • 8. ● Better battery back up when idle ● Standby can improve upto 2x ● Uses sensors to detect if the phone is idle ● Postpones non important tasks that wake up the device ● Resumes when the device is moves Doze mode
  • 9. ● Apps that are not used for long periods ● Lose access to network and background tasks ● Avoid continuous battery drain for unused stuff ● Resumes when the device plugs in or you use the app . App standby
  • 10. Assistant support ● Provide system additional info about the current screen ○ Context ○ Metadata ● can be at application or activity level . ● eg) google now on tap
  • 11. Data binding ● view to object mapping ● can apply transformation ● better performance dependencies { classpath "com.android.tools.build:gradle:1.3.0-beta1" classpath "com.android.databinding:dataBinder:1.0-rc0" } <variable name="user" type="com.example.User"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@{user.firstName}"/>
  • 12. Material design library ● Super useful ● Lots of boilerplate code removed More in the next talk
  • 13. Applinks ● directly open links in app without intent chooser ● used when you own the domain and app ● statements.json file in server under .well-known folder ○ apk package name ○ certificate hash ● intent filter has android auto-verify = true ● override is possible