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 |
---|---|
|
This is required for apps that request permission to use the device's camera; this is not required if you make use of the |
|
This permission is required to save images or videos to the device's external storage (SD card) |
|
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...