Get the current app running package and activity under the window

Under Windows:

Press "window key + R key" to open the "Run" window of the computer, enter "cmd", enter the directory where your adb.exe is located, enter " adb shell "dumpsys window | grep mCurrentFocus" ", the double quotes inside need to be Add, Enter key, then you will see the package name and activity name you want.

 

Note: Before the operation, you need to open the current operation APP

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326676835&siteId=291194637