April 2015
Beginner to intermediate
494 pages
10h 26m
English
Let's write the necessary Java code to record and display pictures in a fresh new project:
LiveCameracom.packtpub.livecameraLiveCameraActivityactivity_livecameraAndroidManifest.xml file, request access permission to the camera. Then, set the activity style to fullscreen and its orientation to landscape. Landscape orientation avoids most camera orientation problems that are met on Android devices:<?xml version="1.0" encoding="utf-8"?> ...