Git Product home page Git Product logo

Comments (9)

NguyenQuangKhang avatar NguyenQuangKhang commented on August 12, 2024 1

it's Ok in rear but when i switch camera to Front.
in version adv_camera 1.1.2+2, I got this :
"a virtual display of size: [1631, 2900] may result in problems(flutter/flutter#2897 is larger than the device screen size: [1440, 2900]."

from adv_camera.

mcsugaman avatar mcsugaman commented on August 12, 2024

same problem here, Samsung Galaxy S9, Android 10 installed.

from adv_camera.

ricnaaru avatar ricnaaru commented on August 12, 2024

btw, this shouldn't be happening again, because i remember have fixed it at the latest version, have you tried the latest version?

from adv_camera.

mcsugaman avatar mcsugaman commented on August 12, 2024

yes, I am using version 1.1.1+1. When I call cameraController.switchCamera() I get this error.

from adv_camera.

mcsugaman avatar mcsugaman commented on August 12, 2024

any update on this?

from adv_camera.

anhtuan23 avatar anhtuan23 commented on August 12, 2024

I have this issue using the current example app too. Tested on Samsung A21s running Android 10.

from adv_camera.

kirya355 avatar kirya355 commented on August 12, 2024

Not working, here the console output
I/Camera (27906): close camera: 0, package name: com.ric.adv_camera_example I/HwCameraUtil(27906): notifySurfaceFlingerCameraStatus : isFront = false , isOpend = false I/Camera (27906): open camera: 1, package name: com.ric.adv_camera_example I/HwCameraUtil(27906): notifySurfaceFlingerCameraStatus : isFront = true , isOpend = true I/HwCameraUtil(27906): notifySurfaceFlingerFrontCameraStatus 8011 transact success! W/System.err(27906): java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.contains(java.lang.Object)' on a null object reference W/System.err(27906): at com.ric.adv_camera.AdvCamera.translateFlashType(AdvCamera.java:507) W/System.err(27906): at com.ric.adv_camera.AdvCamera.setupCamera(AdvCamera.java:469) W/System.err(27906): at com.ric.adv_camera.AdvCamera.onMethodCall(AdvCamera.java:286) W/System.err(27906): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230) W/System.err(27906): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) W/System.err(27906): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692) W/System.err(27906): at android.os.MessageQueue.nativePollOnce(Native Method) W/System.err(27906): at android.os.MessageQueue.next(MessageQueue.java:363) W/System.err(27906): at android.os.Looper.loop(Looper.java:173) W/System.err(27906): at android.app.ActivityThread.main(ActivityThread.java:8178) W/System.err(27906): at java.lang.reflect.Method.invoke(Native Method) W/System.err(27906): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) W/System.err(27906): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)

from adv_camera.

mcsugaman avatar mcsugaman commented on August 12, 2024

I used the version, where front camera was working and then added autofocus implementation...works like a charm

from adv_camera.

ricnaaru avatar ricnaaru commented on August 12, 2024

please use the latest version (1.2.0) and if the problem still persists, reopen this thread. Thanks!

from adv_camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.