Ok, here is my problem. Whenever I press the HOME button, nothing happens. If I am in the application and click it, I do not go to the main screen as I should be.
However, if the screen is locked and I press, the screen will light up (because the key is pressed).
So, from what I can say, the system registers the HOME key press, but does not cause the intent of "android.intent.category.HOME".
Is there a way to control the HOME button, and if it clicks the "android.intent.category.HOME" button from my application? I looked at StackOverflow, but cannot find any working way to listen for the HOME key if the HOME intent is not activated.
Problem Overview:
Pressing the HOME button wakes the system up when it locks, so the key obviously works.
Button
HOME will not lead to the intention of "android.intent.category.HOME" to activate and will not send all open applications to the background.
Any help?
source share