Prior to getting into the details of adding camera integration, we will discuss more about the general permissions and features related to the camera. 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 an external camera app to capture the picture.
Camera-specific features can be set up in an app's manifest file using the <uses-feature/>
element. The following features are defined:
In our case, we will not specify any features as requirements, but at runtime, we will check to be sure an external app is available to capture a photo. This would allow anyone to install and use our app even if their device did not have a camera.
3.145.47.253