camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

Multiple samples showing the best practices in camera APIs on Android.

Results 189 camera-samples issues
Sort by recently updated
recently updated
newest added

private fun bindCameraUseCases() = with(binding.viewFinder) { val screenAspectRatio = AspectRatio.RATIO_16_9 val viewPort = ViewPort.Builder( Rational( width, height ), display.rotation ).build() val cameraProvider = cameraProvider ?: throw IllegalStateException(getString(R.string.res_error_camera_start)) val cameraSelector =...

Testing the feasibility of using isSessionConfiguraionSupported to query compatible feature combinations Change-Id: I81c33fe925af05495a7aeb0533a53d38874ebf70

Hi, After running the application and accepting the permissions, I received a toast message that read "Permission request denied." Even after checking in the app info, all permissions were granted,...

As of [CameraX 1.3](https://android-developers.googleblog.com/2023/06/camerax-13-is-now-in-beta.html) (June 2023) it looks like CameraX added support for simultaneous front facing and back facing camera recordings, aka PIP (Picture-In-Picture) video recordings. Apple has had this...

Hey all! I have a Camera library that can do preview, photo capture, video capture, and frame processing at the same time. On iOS, this works perfectly. But on Android,...

hi there I want to switch cameras b/w front and back from settingsActivity. For example a user selects the camera to the front or back and then clicks save the...

1 On Back camera there are some different cameras like default , micro etc. how to switch between them

Hey! Sorry for asking this here, not sure if this is the right place - but what exactly does the `useMediaRecorder` option in `EncoderWrapper` do? What is the difference between...

Could you provide the code to show how to use wide angel and ultra wide angle.

Can you update CameraXBasic example version please? current is: `1.2.2` according https://developer.android.com/codelabs/camerax-getting-started#1, and sample still using: `1.1.0-beta01` Regards