Giter VIP home page Giter VIP logo

Comments (10)

haemi avatar haemi commented on July 20, 2024

did you find a solution for this?

from mobilevisionbarcodescanner.

haemi avatar haemi commented on July 20, 2024

the problem is here, but I don't know how I can solve that in my project yet:

BarcodeCapture:230 should NOT be

mCameraSource.setFlashMode(isShowFlash() ? Camera.Parameters.FLASH_MODE_TORCH : null);

but

mCameraSource.setFlashMode(isShowFlash() ? Camera.Parameters.FLASH_MODE_TORCH : Camera.Parameters.FLASH_MODE_OFF);

from mobilevisionbarcodescanner.

gabrielnra avatar gabrielnra commented on July 20, 2024

I`m not being able to fix this. Could you?

from mobilevisionbarcodescanner.

haemi avatar haemi commented on July 20, 2024

yes, please see my pull request

from mobilevisionbarcodescanner.

android-guilherme avatar android-guilherme commented on July 20, 2024

Waiting for that update....

from mobilevisionbarcodescanner.

KingsMentor avatar KingsMentor commented on July 20, 2024

@android-guilherme just push an update that fixed these issues. About to close up all issues. Will release the update afterwards.

from mobilevisionbarcodescanner.

android-guilherme avatar android-guilherme commented on July 20, 2024

@KingsMentor Thanks for that! Really thanks!

from mobilevisionbarcodescanner.

KingsMentor avatar KingsMentor commented on July 20, 2024

a new released is available now.

	dependencies {
	        compile 'com.github.KingsMentor:MobileVisionBarcodeScanner:2.0.0'
	}

from mobilevisionbarcodescanner.

android-guilherme avatar android-guilherme commented on July 20, 2024

@KingsMentor Yes! I'm using that now. So much better! Again, Thanks for that awesome job.

from mobilevisionbarcodescanner.

PrashantMangale avatar PrashantMangale commented on July 20, 2024

@haemi Hello, how you initialize mCameraSource?
I am not getting how to do that. I have used previous code of @gabrielnra to on/off Flash while scan.
It takes value on/off from Shared Preferences and will call to setShowFlash() method on it with respective value true/false.
But its not working, even library is updated to latest version. Help me to solve this issue.

from mobilevisionbarcodescanner.

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.