Posts

Post not yet marked as solved
3 Replies
1.2k Views
Is there any way to listen for hardware button events (volume up/down, power button) in the background?I am developing a safety app and would like to trigger an emergency event on e.g. pressing the volume button OR power button 5 times continuously.The app currently has the feature, but the user has to open the app to trigger it and that's the initial criticism. the user won't have enough time to open the app in an emergency.
Posted
by kberawala.
Last updated
.