I am in my application and I have control back button but I also want to control home button. I have written the code but I am unable to control HOME button. Here is my code.
As per Android core concepts, no application can alter the behaviour of the Home button.
Home
This you may not achieve what you're trying to do.
EDIT
You can try to code one Home Screen Launcher so that when user presses the home button, they can go to your Home Launcher.
Home Screen Launcher