How it works...
This recipe starts the picture capturing app on your Android device. That is, the Camera app on your device will be invoked enabling you to click the pictures if required.
An object called app is defined by invoking Android() method of the android module. The cameraInteractiveCapturePicture() method is invoked to start the camera and take a picture. The clicked picture will be stored in the specified path in the sdcard folder of your Android device with the cameraPic.jpg filename.
On running the application, the picture capturing app will automatically start, ready to take a picture. The screenshot on the left shows the picture that is visible through the Camera app. You focus the camera of your device on the object to be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access