What is the alternative to the setHardKeyIntentState now that it is deprecated

Hello there

I need the functionality of the setHardKeyIntentState function, but since it has been deprecated in knox 3.8 it wouldn’t be very wise to use anymore in my code.

My question is: What is the alternative / new way / intended way to map a hardware button to an intent.

Note: It has to be an intent in my case, opening an activity / app doesn’t work in my case

I’ve not used it myself but we recently added an bugs and issues channel. Try reporting it there and see if they have an answer.

Ron
Samsung Developer Relations