Android中创建和检测快捷方式
public class ShortcutUtil {
/**
* 创建快捷方式
*
* @param context
*/
public static void createShortcut(Context context, Class target) {
//
Intent intent = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");
intent.putExtra(In
原创
2011-04-14 18:19:00 ·
2083 阅读 ·
0 评论