Using the camera
In this recipe, we will learn how to display the camera feed in our application. This simple yet powerful feature can be integrated in many ways to your applications. Indeed, you can envision applications that allow a live video feed, such as Skype.
Create a new solution named
CameraTest and open it in Xamarin Studio. This recipe will only work on a physical device.
How to do it...
- Open the
AndroidManifest.xmlfile under the
Propertiesfolder and request the Camera, CaptureVideoOutput and Write external permissions.
- Now add the following statement to the
- In the minimum and target Android version, choose the following: Override – Android 4.4 (API ...