I'd like to know how would it be possible to launch an action "shortcut" (like Greenify's auto-hibernation shortcut) through the command line in Android.
I'm trying to launch a StrongSwan VPN profile on boot, but first I need to know what command does eg. the launcher send to it while launching the profile from the home screen.
So far, what I've managed to observe is that when I launch SS with that shortcut, the logcat says:
START u0 {act=org.strongswan.android.action.START_PROFILE flg=0x10000000 cmp=org.strongswan.android/.ui.MainActivity bnds=[360,1759][540,1920] (has extras)} from uid 10077 on display 0
Any ideas on how to make it into command input? Thanks in advance!