CameraX Workshop
summary
Builds a camera app from scratch using Jetpack CameraX with live preview, photo capture that writes files and logs the path, and a frame image analysis pipeline that computes luminosity and skips frames when timestamps don’t advance. Requires adding CameraX core + camera2 module deps, runtime camera permission, and a TextureView wake-up hack (remove and readd) to attach CameraX surfaces. Notes that Google runs >1,000 devices in a test lab and the emulator exhibits an emulator single-threaded slowdown for image analysis.
AI-written summary · about
chapters (14)
- 0:00Introduction and setup
- 1:15CameraX team and goals
- 3:22Workshop prerequisites
- 22:20Starting the code lab
- 31:26Live walkthrough begins
- 43:00Adding dependencies and permissions
- 45:39Understanding TextureView
- 51:31Preview and transform adjustments
- 56:15Adding capture button
- 58:47Testing with camera emulator
- 59:07Implementing image analysis
- 1:00:24Running analysis and logs
- 1:02:52Q&A and feedback
- 1:03:34Documentation and community

