摘要:
1、添加权限(必须)<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />2、添加快捷键 public static void setupShortcut(Activity activity) { Intent shortcutIntent = new Intent(activity, MainActivity.class); //启动首页(launcher Activity) Intent intent = new Intent("com. 阅读全文
posted @ 2012-11-14 10:55
lipeil
阅读(668)
评论(0)
推荐(0)

浙公网安备 33010602011771号