Implementing CameraX with Android Jetpack Compose

Who has struggled with device-specific issues? 🙋‍♂️

Having a large variety of devices comes with its challenges. With all the different models, out there, an app will look different depending on if it’s running in a large density screen or in a foldable. This was often the difficulty when you needed to implement your camera, previously to CameraX.

There were always issues related with a stretched preview or photo, or the camera wouldn't open, or there was no match between the preview and picture dimensions, and the list goes on and on.

Fortunately, Google added to Jetpack the CameraX library. It allows you to easily (and faster) implement your camera with the confidence that it will work perfectly on over 98% of the existing Android devices. It gets even better: it's backward compatible until Android 5.0. 

In this course, you'll learn how to create your own camera(x) and add it to your projects. 

Ready? May the best picture win!

  • Course Instructor: Carlos Mota
  •  Level: Intermediate
  •  Course Duration: 60 minutes
  • Sample Project Included: Yes
  • Learning Path: Android’s Modern Toolkit: Jetpack Compose

Course Objectives

In this master codelab, you’ll explore:

  • Your camera preview.
  • Take pictures
  • Record videos
  • Add special effects to your photos.

Meet the instructor

Carlos Mota

Content Author & Course Instructor

More courses by the instructor