Sample Header Ad - 728x90

How to get current (foreground) activity name?

10 votes
3 answers
35668 views
I'm trying to make an automatic night mode for my phone using "Automate", but I can't find certain app activities. How do I get to know what activities are executed in the foreground at the moment, so I can start it?
Asked by Deerie (101 rep)
Nov 2, 2017, 04:19 AM
Last activity: Jun 7, 2025, 10:08 PM