Android で ホームキー (Home Key) を検知する方法はないものかと Activity のメソッドを見ていて protected void onUserLeaveHint() というのを見つけました。 ------ Called as part of the activity lifecycle when an activity is about to go into the background as the result of user choice. For example, when the user presses the Home key, onUserLeaveHint() will be called, but when an incoming phone call causes the in-call Activity to be automatically