How to find app package name from android device??

1)We can connect your device to system via USB and execute "adb shell pm list packages -3" on cmd
2)We can install following android app to get all package name which installed into device
"ÄppInfo"d