we can't find a way to programmatically detect buttons in rugged devices.
@Eduardo Zarate Good day. Are you talking about not being able to determine the function of each button? Can you tell which phone model you are using?
We use Doogee V10. Other devices usually use specific filter intent (ex: android.intent.action.PTT.down). And we need detected the hardware button programmatically for our apps.
@Eduardo Zarate Good day, I’m sorry that our code is confidential and will not be released to the outside world. You can enter the settings-features-smart button to control the application.