Hello,
I am trying to build a service on android that receives broadcast
events about some changes in the system. Right now i am trying to
figure out how to receive events about what activity is currently
running in the foreground. I was thinking that maybe android sends a
broadcast event with the name of the activity / app that has to run,
but i didn't come to a final conclusion.
Do you know how this thing works ?
Thanks,
Mihai

