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
methodCreating 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.