Monday, March 26, 2012

Overriding Home Key Android

After a deep search i came to know that there is a possibility to lock(Disable) home key in the android like back key. It was pretty easy. Add the below snippet to the activity in which you want to disable home key click...

public void onAttachedToWindow()

No comments:

Post a Comment