What problem does it solve?
Building Android camera apps involves verbose Camera2 boilerplate, tricky asynchronous lifecycles, immutable builder APIs that silently drop settings, and hardware diversity across phones, foldables, Wear OS, and XR devices. This Skill provides proven CameraX patterns and migration guides that prevent common pitfalls like blocked capture pipelines and misaligned ML Kit overlays.
Core Features & Use Cases
- Camera1/Camera2 Migration: Step-by-step guides to replace legacy camera code with lifecycle-bound CameraX use cases like Preview, ImageCapture, and ImageAnalysis.
- Advanced Feature Blueprints: Phased implementation plans for manual controls (ISO, exposure, focus via Camera2Interop), RAW capture, low-light boost, and Media3 effects.
- Form Factor Guidance: Patterns for foldables, Wear OS remote viewfinders, XR passthrough, thermal management, and hermetic camera testing with fakes.
- Use Case: You need to add tap-to-focus and photo capture to a Jetpack Compose app. The Skill guides you to use CameraXViewfinder with SurfaceRequest, MeteringPointFactory for focus, and proper ImageProxy handling with rotation and mirroring.
Quick Start
Ask your agent to implement a CameraX photo capture feature with preview and tap-to-focus in your Android app.