This sample demonstrates how to use the new Camera2 APIs to render a preview of a camera's viewport, capture an image and save it to the device's storage.
-
Touch the Picture button to take a photo that will automatically be saved on your device.
-
Touch the info button to find out a little bit more about the app.
-
Requires a device with a rear facing camera
Using this sample requires a device that is Android L or later and Xamarin.Android 4.17 or later.
Copyright (c) 2005-2008, The Android Open Source Project
Ported to Xamarin.Android by Christopher Blackman
Proposed Changes:
- Get the photo(s) from the local drive
- Break out some of the code into tasks