A custom camera that takes photos, shows a photo library, and a preview view.