1

Possible Duplicate:
Can i override HOME Button on my own Home-Screen from my application?

How can I handle the Home button click in android?

Community
  • 1
  • 1
Priya
  • 13
  • 1
  • 6

1 Answers1

1

Home button is reserved for the OS as a "last chance" escape for the user from any app. Developers cannot override it, this way ensuring that the user will always have the possibility to leave the app.

Danail
  • 10,443
  • 12
  • 54
  • 76
  • I think that's the power button, the home button can be overridden like in Lucasneo's answer – joon Jun 23 '12 at 11:56
  • this is definitely note true. When you create a type_system_alert view, home button cannot work anymore. Refer to here fore more information: http://stackoverflow.com/questions/4750814/creating-a-system-overlay-where-the-home-buttons-still-work – Truong Nguyen Nov 29 '12 at 14:56