How do I overwrite the functionality of the home button?
Posted
by Alex
on Stack Overflow
See other posts from Stack Overflow
or by Alex
Published on 2010-05-23T23:53:02Z
Indexed on
2010/05/24
0:01 UTC
Read the original article
Hit count: 164
android
|broadcastreceiver
Essentially, I just want to change the home button from just hiding my app to killing the activity that is on the screen.
I thought about writing a broadcast receiver that kills the activity, but I'm not sure how to kill the activity from the receiver.
How do I change the functionality of the home button to "finish" the specific activity?
Thanks
© Stack Overflow or respective owner