I am running my app on emulator. Is there anyway to see the current activity name in android studio . Like while I first launch the application I can see that I am on "MainActivity" after that if I do some action then I can see that I am on "AnotherActivity" . Rather than writing code , I just want to see the current activity name while I am debugging my app on emulator or device
I always create the TAG String into my Activities:
public final static String TAG = MainActivity.class.getSimpleName();
And then on the onCreate() just Log it:
Log.i(TAG, "I am here!");
Cheers!