Additionally, paste this code immediately after the opening tag:

Current Activity

A useful tool for Android Developers, which shows the package name and class name of current activity. It...

Free

Store review

A useful tool for Android Developers, which shows the package name and class name of current activity.

It's now open sourced at https://github.com/109021017/android-TopActivity.

Tips:
1. You can run "adb shell dumpsys window windows | grep -E 'mCurrentFocus' " to see the current activity.
2. You can track the activities by Logcat. Just add a Logcat Filter with Log Tag "ActivityManager" and Log Message "START.*".
3. Or you can run this shell script https://gist.github.com/109021017/43e7f5ad1361ad9caa3e
4. Use this alfred workflow (https://github.com/109021017/alfred-adb-workflow) is the easiest way to access the Activity name on Mac

Size

100.0 KB

Last update

Nov. 27, 2019

Read more