摘要: Intent shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT"); //快捷方式的名称 shortcut.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.app_name)); shortcut.putExtra("duplicate", false); //不允许重复创建 //指定当前的Activity为快捷方式启动的对象: 如 com.everest.video.VideoPlayer //注意: C 阅读全文
posted @ 2011-05-27 11:29 ycmoon 阅读(450) 评论(0) 推荐(0) 编辑
QQ:817647 MSN:kenny@msn.cn EMail:ycmoon@qq.com