Closed tommyaja closed 5 years ago
I tried on Realme C1, it only works with front camera, but no any action using back camera. Tracing into kotlin source code, also confirm that android built-in function takepicture -> PictureCallback.onPictureTaken never called. Any one find solutions?
Hi everyone, I'm new to android, and now I'm try to create an apps that will open camera, and this is how I initialize :
Inside capture button :
I've clean & rebuild, no error, but the code inside whenDone method still never get called, and then, I try to clone Fotoapparat sample and running to those device, but still no luck.
After an hour I logging the flow, now I know the Camera.PictureCallback never called on those both device, but my other test device Lenovo K4 Note, Camera.PictureCallback get called.
Am I do some mistake? or anyone have some kind error like me? Thanks.