I have a service. There are 6 activities(screens) in the application. When I receive some data from the service, I need to check which activity is highlighted(displayed). Based on that I need to do perform some actions.
Is there any way through which I can come to know which is in the foreground?
Abdul Muyeed M