ݺߣ

ݺߣShare a Scribd company logo
Android Marshmallow
Runtime Permissions
What is the difference
 Ask for permissions when
application need it.
 Less install resistance.
 Better privacy control.
What is the difference
 How many times you have
decided to not to install an
app?
What is the difference
 How many time you thought
you were forced to grant
permissions to install an app?
Difference - New install process
What is the difference
 Asking permission when
accessing certain feature.
Difference - Privacy Control
Difference - Privacy Control
Backward Compatibility
 Legacy apps work as usual on Android M.
 Ask for permissions at install time.
 Users can still revoke the granted
permissions!
 Application doesnt get any exception (read
crash) for not having permission.
 Application get null or zero records!
Forward Compatibility
 Installing an application on older Android
versions.
 Your application ask for permissions at
install time.
 Support library takes care of API calls.
 Separate xml identifier for newer permission
only available at Android M.
Best Practices
 UX Best Practices.
 Development Best Practices.
UX Best Practices
 Dont ask for a lot of permissions at once.
UX Best Practices
 Checkbox of Death!
 Ask - Explain - Ask
 Inform user that app
cant work!
Best Practices
 UX Best Practices.
 Development Best Practices.
Development Best Practices
 UX best practices applies.
 Ask for permission when you are really using that
feature
 Always check for permissions. Dont assume or cache
results.
 Permissions can be revoked while your background
service is running.
Code Samples
 https://github.com/googlesamples/android-
RuntimePermissions
Code Samples
Code Samples
References
 https://medium.com/ribot-labs/exploring-the-new-
android-permissions-model-ba1d5d6c0610
 http://developer.android.com/preview/features/runtime-
permissions.html
 https://www.youtube.com/watch?v=f17qe9vZ8RM
Ad

Recommended

what new in google io 2015
what new in google io 2015
Ted Liang
?
Tech talk android apps echo system
Tech talk android apps echo system
CoSpace, ???? ????? ?????
?
WebRTC: User Security & Privacy
WebRTC: User Security & Privacy
Anant Narayanan
?
Unit testing for User Interfaces
Unit testing for User Interfaces
webmull
?
Android interview questions
Android interview questions
satish reddy
?
Nailing Mobile UX for Better Customer Experiences
Nailing Mobile UX for Better Customer Experiences
MobileMoxie
?
ԧ ֧ԧݧ֧ӧܧڧ: ٧ԧݧ ѧܧڧܧ ߧ Android 6.0 Marshmallow
ԧ ֧ԧݧ֧ӧܧڧ: ٧ԧݧ ѧܧڧܧ ߧ Android 6.0 Marshmallow
Mobile Dimension
?
Android marshmallow permission
Android marshmallow permission
Shun Nakahara
?
android marshmallow- latest android application version
android marshmallow- latest android application version
JAI SHANKER
?
Android Marshmallow na pra?tica
Ramon Ribeiro Rabello
?
ANDROID MARSHMALLOW
ANDROID MARSHMALLOW
Om Prakash
?
android marshmallow
android marshmallow
Chaitanya Ram
?
Have a look Google next operating system update : Android Marshmallow
Have a look Google next operating system update : Android Marshmallow
Mike Taylor
?
Android marshmallow 6.0
Android marshmallow 6.0
Parmeshwar Wahatule
?
Instalasi Android 6.0 "Marshmallow"
Instalasi Android 6.0 "Marshmallow"
anafatwa21
?
Android Marshmallow
Android Marshmallow
Planet Web Solutions Pvt. Ltd
?
Android Marshmallow demos
Android Marshmallow demos
Yossi Elkrief
?
Tara Shears - Latest News from the LHC
Tara Shears - Latest News from the LHC
The Royal Institution
?
Interview questions for an Android Developer
Interview questions for an Android Developer
Interview Mocha
?
Ppt on android
Ppt on android
Prabhat Singh
?
Android 6.0 marshmallow
Android 6.0 marshmallow
Vinay Kumar Mishra
?
Creating Android Services with Delphi and RAD Studio 10 Seattle
Creating Android Services with Delphi and RAD Studio 10 Seattle
Jim McKeeth
?
Android ppt
Android ppt
blogger at indiandswad
?
Justin Ison
Justin Ison
CodeFest
?
Hogy nz ki egy pentest mel a gyakorlatban?
Hogy nz ki egy pentest mel a gyakorlatban?
hackersuli
?
Android permission system
Android permission system
Shivang Goel
?
Android permission system
Android permission system
Shivang Goel
?
Automated Exploratory Testing
Automated Exploratory Testing
Justin Ison
?
The Final Frontier, Automating Dynamic Security Testing
The Final Frontier, Automating Dynamic Security Testing
Matt Tesauro
?
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar Garg
oGuild .
?

More Related Content

Viewers also liked (15)

android marshmallow- latest android application version
android marshmallow- latest android application version
JAI SHANKER
?
Android Marshmallow na pra?tica
Ramon Ribeiro Rabello
?
ANDROID MARSHMALLOW
ANDROID MARSHMALLOW
Om Prakash
?
android marshmallow
android marshmallow
Chaitanya Ram
?
Have a look Google next operating system update : Android Marshmallow
Have a look Google next operating system update : Android Marshmallow
Mike Taylor
?
Android marshmallow 6.0
Android marshmallow 6.0
Parmeshwar Wahatule
?
Instalasi Android 6.0 "Marshmallow"
Instalasi Android 6.0 "Marshmallow"
anafatwa21
?
Android Marshmallow
Android Marshmallow
Planet Web Solutions Pvt. Ltd
?
Android Marshmallow demos
Android Marshmallow demos
Yossi Elkrief
?
Tara Shears - Latest News from the LHC
Tara Shears - Latest News from the LHC
The Royal Institution
?
Interview questions for an Android Developer
Interview questions for an Android Developer
Interview Mocha
?
Ppt on android
Ppt on android
Prabhat Singh
?
Android 6.0 marshmallow
Android 6.0 marshmallow
Vinay Kumar Mishra
?
Creating Android Services with Delphi and RAD Studio 10 Seattle
Creating Android Services with Delphi and RAD Studio 10 Seattle
Jim McKeeth
?
Android ppt
Android ppt
blogger at indiandswad
?
android marshmallow- latest android application version
android marshmallow- latest android application version
JAI SHANKER
?
Android Marshmallow na pra?tica
Ramon Ribeiro Rabello
?
ANDROID MARSHMALLOW
ANDROID MARSHMALLOW
Om Prakash
?
Have a look Google next operating system update : Android Marshmallow
Have a look Google next operating system update : Android Marshmallow
Mike Taylor
?
Instalasi Android 6.0 "Marshmallow"
Instalasi Android 6.0 "Marshmallow"
anafatwa21
?
Android Marshmallow demos
Android Marshmallow demos
Yossi Elkrief
?
Interview questions for an Android Developer
Interview questions for an Android Developer
Interview Mocha
?
Creating Android Services with Delphi and RAD Studio 10 Seattle
Creating Android Services with Delphi and RAD Studio 10 Seattle
Jim McKeeth
?

Similar to Android M - Runtime Permissions | Getting ready for Marshmallow (20)

Justin Ison
Justin Ison
CodeFest
?
Hogy nz ki egy pentest mel a gyakorlatban?
Hogy nz ki egy pentest mel a gyakorlatban?
hackersuli
?
Android permission system
Android permission system
Shivang Goel
?
Android permission system
Android permission system
Shivang Goel
?
Automated Exploratory Testing
Automated Exploratory Testing
Justin Ison
?
The Final Frontier, Automating Dynamic Security Testing
The Final Frontier, Automating Dynamic Security Testing
Matt Tesauro
?
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar Garg
oGuild .
?
Onboarding users on to your app
Onboarding users on to your app
Elvis D'Souza
?
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
Eneko Jon Bilbao
?
Website qa
Website qa
Jonathan Ross
?
Proxmox Security and Licenses
Proxmox Security and Licenses
Rahul Kaveeshwar
?
Jason Olson - Test What You've Built
Jason Olson - Test What You've Built
John Zozzaro
?
CodeMotion tel aviv 2015 - burning marshmallows
CodeMotion tel aviv 2015 - burning marshmallows
Ron Munitz
?
Remote usability testing and remote user research for usability
Remote usability testing and remote user research for usability
User Vision
?
Four Reasons To Pay Extra For Software Freedom
Four Reasons To Pay Extra For Software Freedom
South Tyrol Free Software Conference
?
Introduction to Android M
Introduction to Android M
amsanjeev
?
Path dependent-development (PyCon India)
Path dependent-development (PyCon India)
ncoghlan_dev
?
Mobile Application Testing Strategy
Mobile Application Testing Strategy
ankitQA
?
Diana Pinchuk ITEM 2018
Diana Pinchuk ITEM 2018
ITEM
?
Mobile deep links testing: keep calm and stay focused, ?ѧߧ ?ߧ
Mobile deep links testing: keep calm and stay focused, ?ѧߧ ?ߧ
Sigma Software
?
Hogy nz ki egy pentest mel a gyakorlatban?
Hogy nz ki egy pentest mel a gyakorlatban?
hackersuli
?
Android permission system
Android permission system
Shivang Goel
?
Android permission system
Android permission system
Shivang Goel
?
Automated Exploratory Testing
Automated Exploratory Testing
Justin Ison
?
The Final Frontier, Automating Dynamic Security Testing
The Final Frontier, Automating Dynamic Security Testing
Matt Tesauro
?
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar Garg
oGuild .
?
Onboarding users on to your app
Onboarding users on to your app
Elvis D'Souza
?
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
2015 Mastering SAP Tech - Enterprise Mobility - Testing Lessons Learned
Eneko Jon Bilbao
?
Proxmox Security and Licenses
Proxmox Security and Licenses
Rahul Kaveeshwar
?
Jason Olson - Test What You've Built
Jason Olson - Test What You've Built
John Zozzaro
?
CodeMotion tel aviv 2015 - burning marshmallows
CodeMotion tel aviv 2015 - burning marshmallows
Ron Munitz
?
Remote usability testing and remote user research for usability
Remote usability testing and remote user research for usability
User Vision
?
Introduction to Android M
Introduction to Android M
amsanjeev
?
Path dependent-development (PyCon India)
Path dependent-development (PyCon India)
ncoghlan_dev
?
Mobile Application Testing Strategy
Mobile Application Testing Strategy
ankitQA
?
Diana Pinchuk ITEM 2018
Diana Pinchuk ITEM 2018
ITEM
?
Mobile deep links testing: keep calm and stay focused, ?ѧߧ ?ߧ
Mobile deep links testing: keep calm and stay focused, ?ѧߧ ?ߧ
Sigma Software
?
Ad

Recently uploaded (20)

AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
?
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
?
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
?
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
?
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
?
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
?
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
?
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
?
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
?
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
?
MPU+: A Transformative Solution for Next-Gen AI at the Edge, a Presentation...
MPU+: A Transformative Solution for Next-Gen AI at the Edge, a Presentation...
Edge AI and Vision Alliance
?
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
?
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
?
Wenn alles versagt - IBM Tape schtzt, was z?hlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schtzt, was z?hlt! Und besonders mit dem neust...
Josef Weingand
?
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
?
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
?
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
?
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
?
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
?
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
?
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
?
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
?
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
?
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
?
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
?
MPU+: A Transformative Solution for Next-Gen AI at the Edge, a Presentation...
MPU+: A Transformative Solution for Next-Gen AI at the Edge, a Presentation...
Edge AI and Vision Alliance
?
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
?
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
?
Wenn alles versagt - IBM Tape schtzt, was z?hlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schtzt, was z?hlt! Und besonders mit dem neust...
Josef Weingand
?
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
?
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
?
Ad

Android M - Runtime Permissions | Getting ready for Marshmallow