I am having a small issue in developing an Android application on the MC40, I cannot seem to intercept when the hardware buttons on the side of the device have been pressed.
I can grab the following:
But I cannot seem to grab L1/L2/R1 The 'onKeyDown' Java event simply doesn't trigger.
R1 and L1 are scanner buttons and they get captured by DataWedge (DW); you need to create a DW profile bespoke to your application to tell DW to pass the trigger events to your app when this is running. Otherwise you can just disable DW if you are not using it.
L1 is captured by PTT Express as that's the PTT button; I'm not very familiar with PTT Express, but you can disable it too.
Hope this helps.