0

im able to successfully detect volume button press when my App activity is open and active. Id like to be able to detect the key press also when my app activity is closed. Can anyone let me know if this is possible?

Because of the restrictions on Foreground services in android 12, i think this is not possible via a foreground service.

0 Answers0