On Android 4.2.2, Intent INSTALL_SHORTCUT creates shortcut in the second page
问题 I get a strange result when calling this code to simply create a shortcut in the home screen. The shortcut is created on the second page of the home screen (and the first page is empty so there is enought space!). Any ideas? public static void installShortcut(Context context, String packageName, String componentName, String shortcutName, Parcelable icon) { Intent shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT"); ComponentName cn = new ComponentName(packageName,