I didn't find an answer to this question, so here we go. I have an android library that doesn't implement any View or android Application class, and I need to capture a hardware button press.
I couldn't override / implement any KeyEvent callback function.
Any idea on how can i do it?
Thank you!