I\'m developing an application that uses ADB Shell to interface with android devices, and I need some way of printing out the application name or label of an application, gi
just enter the following command on command prompt after launching the app:
adb shell dumpsys window windows | find "mCurrentFocus"
if executing the command on linux terminal replace find by grep