how to read data app package and app activity name from different file code example
Example: how to get app package and app activity in android
adb shell dumpsys window windows | grep -E 'mCurrentFocus'
adb shell dumpsys window windows | grep -E 'mCurrentFocus'