close
The Wayback Machine - https://web.archive.org/web/20160416195204/https://developer.android.com/samples/RuntimePermissionsBasic/index.html
Show navigation Hide navigation

RuntimePermissionsBasic

This sample shows a basic implementation for requesting permissions at runtime. Click the button to request the Camera permission and open a full-screen camera preview. Note: The "RuntimePermissions" sample provides a more complete overview over the runtime permission features available.