Need to disable all hardware buttons when i start an application

i need to disable all hardware buttons when i start an application... how can i do ??

Why?

I don't think it's possible to disable the Home button. Blocking the Back button isn't a problem, but it would be (almost) impossible to exit the app without the home button.