问题
I've researched this a lot and it seems that after ICS normal applications can no longer intercept the Home Button.
However, I see apps like Go Locker that are able to trap the Home Button.
If Go Locker isn't intercepting the home button, what are they doing to prevent the user from going to the home screen?
回答1:
You cannot intercept the home button. You cannot disable it. The way how the go locker does it is by drawing its layout over other apps. It requires extra permission. See this link for more details here.
来源:https://stackoverflow.com/questions/23772386/intercepting-home-button-on-android