---
title: "监听不到android 的 Home 键"
author: "mmdev"
date: "2011-12-13T18:03:00Z"
tags: []
slug: "android-home"
draft: false
lastmod: "2012-04-04T08:52:13Z"
id: 1473763
url: "https://mmdev.iteye.com/blog/1473763"
---

应用程序监听不了android 机的HOME KEY事件。

实验结果没有预期日志输出，把键码换成BACK键码4则可以监听到。

官方解释：

Key code constant: Home key. This key is handled by the framework and is never delivered to applications.