~/talk

Getting Started with CameraX

Talkat droidCon Berlin 2019 · 2019-07-01..07-03· [android]
links:none on file
links:none on file
slides:none on file

CameraX is a Jetpack library compatible back to Android L and claims 70% fewer lines of code versus Camera2 while standardizing behavior via a CameraX testing lab of thousands of devices. Core, working use cases are preview, image analysis (frame callbacks with raw bytes), and image capture with file callbacks. The sample app on GitHub shows practical fixes: remove-and-reattach the TextureView, center-crop transformations, use display listeners and setTargetRotation, and bind to a lifecycle to auto open and release the camera.

AI-written summary · about

  1. 0:00Introduction to CameraX
  2. 1:55Why CameraX exists
  3. 3:39Core use cases overview
  4. 6:08Setting up preview
  5. 8:17Image analysis setup
  6. 9:41Handling user capture
  7. 11:26Real-world sample app
  8. 13:11Preview challenges
  9. 21:00Handling display rotation
  10. 23:49Camera hardware handling
  11. 24:10Auto-fit preview solution
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.