android-Camera2Basic icon indicating copy to clipboard operation
android-Camera2Basic copied to clipboard

Does not work on Nexus 9

Open jacobtabak opened this issue 11 years ago • 1 comments

  1. In portrait mode, the blue side bar and 'picture' button aren't visible due to the 4x3 aspect ratio of the Nexus 9. The blue bar should be semi-transparent like in the native app and overlaid on the camera preview if their bounds overlap.
  2. Tapping 'picture' cause the app to get stuck in the 'STATE_AWAITING_LOCK' state. I haven't found a way to capture a picture on a Nexus 9 using this sample app.

jacobtabak avatar Jan 02 '15 23:01 jacobtabak

I was able to get capture working by changing the lockFocus capture request to use 'mCaptureSession.capture()' rather than 'mCaptureSession.setRepeatingRequest()' in Camera2BasicFragment.java line 636

jacobtabak avatar Jan 02 '15 23:01 jacobtabak