[Android] Checking front Activity/Service with ADB

adb shell dumpsys activity

Returns front Activity running on the phone

adb shell dumpsys activity services

Returns services that are running currently

Advertisements