public void setVibrateEnabled(boolean vibrateEnabled) {
        this.vibrateEnabled = vibrateEnabled;
    }
Call updatePrefs() after setting this.

@param vibrateEnabled true to enable vibrate
zxing-android-embedded/src/com/google/zxing/client/android/BeepManager.java