Getting the Forefront Activity of any application in a Service written in another application
I want that I need a link to the current activity of ANY app that is in the foreground.
Basically I wrote a service and I want to get a link to the current foreground activity in that service. With "current" I mean any application activity other than the one that started this service.
+3
source to share