java - Android do something when an app is launched -


i'm wondering if there way detect if app running.

on so, there related questions, old. so, wandering if android >= 5.0 can detect when app running.

i don't want make app receives info because it's impossible; want build way receive information launcher.

example: launcher should show overlaying popup when whatsapp launched on phone.

can achieve this? if so, how?


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -