android-camera Questions

3

Solved

I am trying to take the camera preview and alter it in onPreviewFrame() and show it to the user. I have already achieved the required functionality but the problem is in SIZE OF CAMERA PREVIEW.It a...
Mangrum asked 15/6, 2013 at 10:18

7

I am writing an app that takes the camera feed, converts it to rgb, in order to do some processing. It works fine on the old camera implementation which uses NV21 Yuv format. The issue I am havin...
Uranalysis asked 28/5, 2015 at 15:28

6

WebView in this app opens a page with upload button. Below is the code block that allows to open a dialog box to upload image from gallery or camera. Within my Activity I have: private WebVie...

5

Solved

I'm using "react-native-image-picker": "^3.0.1" in react native for capture image. but I got error while opening the camera in android 9. I got error : {"errorCode": &...

2

Solved

Attempting to upload photos on a website using chrome on Android 14. There is no longer an option to use camera to take photo and upload. Only option is to choose photo from album. This issue only ...
Bittersweet asked 24/1 at 14:19

9

Solved

I'm taking a photo with the newest camera plugin version and I'm using code from flutter example. This is how I pick a camera: final cameras = await availableCameras(); final firstCamera = cameras...
Schoolmaster asked 11/2, 2020 at 19:23

18

I've been playing around with flutter an i'm loving it so far, but I'm having an issue getting the camera working. I follow the directions on this page https://pub.dartlang.org/packages/camera and...
Westfall asked 20/4, 2018 at 16:37

3

Solved

After updating from androidx.camera:camera-view:1.0.0-alpha32 to androidx.camera:camera-view:1.1.0-beta01 I receive the next error when using CameraX camerax_version = "1.0.2" // CameraX...
Spangle asked 17/2, 2022 at 12:41

1

We have an Angular 13 app and we are using <input type="file" accept="image/*"> to upload an image. Up to Android 13, Chrome showed two options: Open the camera to take a...

13

Solved

I want to turn on front flash light (not with camera preview) programmatically in Android. I googled for it but the help i found referred me to this page Does anyone have any links or sample code...
Mauramauralia asked 20/5, 2011 at 7:30

3

Solved

Recently I am learning android Camera and OpenglES by grafika (Thanks fadden).It's good on most device, but I encounter bugs in some device, espacially MTK device(such as MT6580,MT8163...). For ex...
Dextrality asked 11/8, 2015 at 14:1

4

I use camera in compose to take picture. Code for camera preview^ @Composable fun CameraPreview( modifier: Modifier = Modifier, scaleType: PreviewView.ScaleType = PreviewView.ScaleType.FILL_CENTE...
Disparate asked 12/5, 2022 at 14:8

11

Solved

I want to get as string the image extension (for example "jpg", "png", "bmp" ecc.) of the images loaded from the gallery or picked from the camera. I have used a method in this form to load images...
Novanovaculite asked 18/3, 2012 at 12:5

2

Solved

I'm trying to create a Camera2 CameraCaptureSession that is capable of four outputs: On-screen preview (SurfaceView, up to 1080p) Photo capture (ImageReader, up to 8k photos) Video Capture (MediaR...
Rebellious asked 16/8, 2023 at 14:0

2

I'm trying to capture Audio from my Android mobile using FFmpeg. Tried the below commands and the recorded clip has no Audio in it, it's just a dark black screen with no audio/video. Basically, I w...
Constriction asked 8/7, 2023 at 15:12

3

Solved

I need to ask for runtime permission to use camera in my fragment class.my code is like this.. int currentapiVersion = android.os.Build.VERSION.SDK_INT; if (currentapiVersion >= Build.VERSION...

14

Solved

I am currently working on Flashlight On/OFF. I am getting this error java.lang.RuntimeException: Fail to connect to camera service I don't know why this error is occurring. I referred to many solut...
Demarcation asked 28/5, 2014 at 6:42

5

I am working on a project that requires a custom camera view in react-native. And the best option I found is react-native-camera but lack of maintenance, it is deprecated now. So I searched a lot o...
Etty asked 10/7, 2022 at 6:55

11

Solved

I am doing an application to scan barcodes on a button click and it was working fine up to Lollipop versions. When I came to Marshmallow it stopped working. This is the error: camerabase an erro...

3

Solved

I'm trying to implement android.hardware.camera2, but I'm a little bit confused with it. The camera is rotating with the phone. BEFORE Taking the picture, If I rotated the phone the camera is rotat...
Blondell asked 29/9, 2015 at 2:30

4

i am using https://github.com/jhansireddy/AndroidScannerDemo this scan library in my project. when i capture image i am getting D/skia: --- Failed to create image decoder with message 'unimplement...

0

Edit: The code works fine if I remove the useeffect, but I want to know when the camera permissions are allowed or not I have a react component where the user is first asked permissions to access c...
Kierkegaardian asked 3/6, 2023 at 12:23

4

Solved

I am building an app where you users can upload their videos to firebase. I am using the camera package for the camera module. I want to turn on the flash when the user clicks on the flash icon or ...
Chronicles asked 2/10, 2019 at 15:35

2

Solved

I´m currently working on a project based on php and javascript where, within its functions, it requires uploading an image through an input, which works perfectly from the browser. Encapsulating th...
Afflatus asked 14/1, 2022 at 19:33

1

I am developing a flutter app that uses qr_code_scanner dependence(https://pub.dev/packages/qr_code_scanner). I want the QrView to autofocus, but I can't find a solution. How do I auto focus the Ca...

© 2022 - 2024 — McMap. All rights reserved.