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

Fixed an error when users not grant the permission so app crashes because barcodeScanner is not initialized. Improved code with a new mlkit so now the camera can track QRcode...

In camera, there is getFocusDistance(). But it was not used after API21. Now, I searched the camera2/camerax, but I can't find the parameters about the focus-distance. Anybody have the same...

Are there any good approaches that one could use to make sure that the video file always will be playable, even if an interruption or a crash occurs in the...

How to set shutter sound?

I tried scan ean-13 product but not detected this is sample of ean-13, but using zxing old libraries normal, i tried also code_128, code_39 detect faster nice! ![image](https://user-images.githubusercontent.com/15793303/209174887-26cf6761-7456-4a0b-958a-0062008f9722.png)

Would be great to update the Compose samples to use the Compose BOM. See https://github.com/android/user-interface-samples/pull/399 for an example of how to do such a migration.

Once it is run on Emulator or n phone, after taking the camera permission, it just shows a blank screen. Following is the content in the emulator: 09/28 09:43:00: Launching...

I couldn't find any resume() or pause() function to pause/resume video recording in my Android app. Any help would be appreciated. There is stopRecording() function only that I used to...