【问题标题】:How to know that user touches on which app icon?如何知道用户触摸了哪个应用程序图标? 【发布时间】:2014-08-26 08:14:00 【问题描述】: 我正在开发一个应用程序,我想知道用户打开了哪个应用程序。 比如如果用户打开了 Play 商店,我想知道 Play 商店是否已打开或用户点击了 Play 商店图标。 【问题讨论】: 看看这个stackoverflow.com/questions/11346557/… 请参考我在这篇文章中的回答stackoverflow.com/questions/25500562/… 标签: android 【解决方案1】: 使用跟踪所有正在运行的应用程序的服务 请参考这里的帖子 Listener when an application is started? 【讨论】: