I n android we can easily access the default camera app using an implicit intent. But it is not easy to develop a custom camera app that matches to your own requirements. Because, there are lots of limitations such as configuration changes like device rotation, onStop and onResume statuses, Memory management, permissions handling and so on. Here is a preview of what we are about to build So today I would like to give you a camera app that will take care of above limitations well and also you can use this code in any project you want. Also I am going to talk about each and every step in detail as far as I can. My camera app has below features: Handling screen rotations(Landscape and portrait modes) Handling onStop and onResume statuses Capture images from both front and back cameras Save images to gallery Handling permissions to support devices with Marshmallow or above Accessing flash light So far I have tested this app on several devices such...