Search code examples
javaandroidembeddedzxing

Zxing QR Scanner Embeded disable beep sound


I have integrated Zxing QR Scanner in my Android app using the instructions here: https://github.com/journeyapps/zxing-android-embedded ( Adding aar dependency with Gradle) Everything works great with the scanner but when the scan is succesfull and the phone media volume is not on mute the app generates a beep sound. Can you help me disable that beep? Thank you!


Solution

  • Try this:

    IntentIntegrator.forFragment(this) 
                    .setBeepEnabled(false);