I have an app that plays intermittent sounds while its activity is open, and the user is always expecting it to make these noises, but unfortunately it is constrained by the
This won't help you if you have override onKeyDown(int keycode,KeyEvent event) method of an activity.