I am trying to generate a shortcut using this approach.
However, I noticed that my Galaxy S4 does not have a button for adding a shortcut to the home screen (when I long-tap, the only options are "Set Wallpaper", "Apps and Widgets" and "Folder".
Thus, there seems to be no GUI way to invoke android.intent.action.CREATE_SHORTCUT
. I can do it from adb
manually using adb
, but that will not feasible for non-developer users.
adb shell am start -a android.intent.action.CREATE_SHORTCUT
Is there a different Intent I can listen for instead to work around this problem and create shortcuts anyways?