Open command shell.
That will desplay the connected device ID, e.g.: 28a890fd
Next, open adb shell and get details of the currently opened app:
dumpsys window windows | grep -E ‘mCurrentFocus’
If Google Play is currently opened, you will get the appPackage/appActivity details, e.g.: