Book Image

Xamarin Mobile Application Development for Android, Second Edition

Book Image

Xamarin Mobile Application Development for Android, Second Edition

Overview of this book

Table of Contents (18 chapters)
Xamarin Mobile Application Development for Android Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Permissions and features


Before getting into the details of integrating the device camera feature, we will discuss more about the general permissions and features related to the camera in more depth. The following table contains the various permissions that may be required. In our case, we need not specify any of these because we are using the Intent method, where the external camera app will capture the picture for us. The external camera app needs to specify the required camera permissions:

Permission

Description

CAMERA

This is required for apps that request permission to use the device's camera; this is not required if you make use of the Intent method

WRITE_EXTERNAL_STORAGE

This permission is required to save images or videos to the device's external storage (SD card)

RECORD_AUDIO

If your app records audio with video capture

Camera-specific features can be set up in an app's manifest file using the <uses-feature> element. The <uses-feature> declaration is used...