Let's say my android application has a foreground service which is intended to show currently running application name in the notification.
Given that, Is there any way I can get the name of the application that is running in the foreground currently?