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

Picking an integration approach


The Android platform provides two different ways to integrate a device's camera feature to your app:

  • Using existing camera apps to integrate using the Intent method

  • Creating your own custom activity that interacts directly with the camera using the Android API

The second approach allows a high degree of control over how the camera view is presented to the user, and how the user interacts with the view. However, the first approach is very straightforward to implement as it reuses the existing device camera apps to capture the picture. We will go with the Intent method as it represents a very practical way to add camera integration.