TC56 Start scanner with HARD button

Hi, i have a Zebra TC56 device and i need to start the barcode scanner using the HARD button for an Android app.I've set TriggerType to hard as the sample suggests but the scanner does not start.


scanner.trigerType = Scanner.TriggerType.HARD;


The same problem occurs and on BarcodeSample1 app, even though i select HARD as trigger type.


What do i have to do to start the scanner with HARD button?Is there a setting i'm missing?


Also, is there a way to disable the default beep sound when scanning or at least change it?