#if you need to turn on the screen and unlock the device first you can
adb shell input keyevent 26 #Pressing the lock button
adb shell input touchscreen swipe 930 880 930 380 #Swipe UP
adb shell input text XXXX #Entering your passcode
adb shell input keyevent 66 #Pressing Enter
#or
adb shell input keyevent 26 #Pressing the lock button
adb shell input keyevent 82 #Get pin screen
adb shell input text XXXX #Entering your passcode
adb shell input keyevent 66 #Pressing Enter
#Dial a number from adb shell on Android
adb shell am start -a android.intent.action.CALL -d tel:"18004664411"
#open Google Maps
adb shell am start -a android.intent.action.MAIN -n com.google.android.apps.maps/com.google.android.maps.MapsActivity
#start chrome
adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
#open url in default browser
adb shell am start -a android.intent.action.VIEW -d http://www.filmsbykris.com
#open Google Photos
adb shell am start -n com.google.android.apps.photos/.home.HomeActivity
#open an image in default image viewer
adb shell am start -d "file:///sdcard/DCIM/Camera/IMG_20170815_101355.jpg" -t "image/jpeg" -a android.intent.action.VIEW
#open camera and controls
https://pastebin.com/1CfwxmjE