This code is deprecated. See CameraX
<br>
<a href='https://codingwithmitch.com/courses/tabian-custom-camera-android/' target='_blank'><img class='header-img' src='https://s3.amazonaws.com/codingwithmitch-static-and-media/media/TabianCustomCamera/CustomCamera.png' /></a>
<h1><a href='https://codingwithmitch.com/courses/tabian-custom-camera-android/' target='_blank'>Building a Custom Camera for Android</a></h1>
<h3>Get the course <a href='https://codingwithmitch.com/courses/tabian-custom-camera-android/' target='_blank'>here</a>.</h3>
<h3>Watch the <a href='https://codingwithmitch.com/courses/tabian-custom-camera-android/introduction/' target='_blank'>Course Demo</a>.</h3>
<h3>What you'll learn:</h3>
<ol>
<li>Android's camera2 API</li>
<li>Making full-screen camera previews</li>
<li>Accommodating different screen sizes</li>
<li>Capturing photos</li>
<li>Drawing on photos</li>
<li>Adding stickers</li>
<li>Saving photos to internal storage</li>
</ol>
<h2>Submitting an Issue</h2>
<p>Watch <a href='https://player.vimeo.com/video/274979439' target='_blank'>this</a> video to learn about how to properly submit an issue.</p>
<p>Here is an example issue I made so you can get a good idea of what it should look like: <a href='https://github.com/mitchtabian/TabianCustomCamera' target='_blank'> Example</a></p>
<p>Link to the Phone Test: <a href='https://github.com/mitchtabian/PhoneTest' target='_blank'> Phone Test</a></p>
<h2>Phones with Known Issues</h2>
<ol>
<li>
<p>Redmi 4X (santoni)</p>
<p>See <a href="https://xiaomifirmware.com/guides-and-tips/google-hdr-camera-slo-mo-redmi-4x/" target="_blank">here</a> for a workaround</p>
</li>
</ol>