添加桌面快捷方式创建功能

This commit is contained in:
ZhanGSKen
2025-07-24 09:00:19 +08:00
parent 23920a7ff1
commit 9dcbaa0d75
4 changed files with 88 additions and 12 deletions

View File

@@ -3,6 +3,11 @@
xmlns:android="http://schemas.android.com/apk/res/android"
package="cc.winboll.studio.numtable">
<!-- Android 13及以下需要的权限 -->
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<!-- 可选:查询快捷方式是否存在(部分机型需要) -->
<uses-permission android:name="com.android.launcher.permission.QUERY_ALL_PACKAGES" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
@@ -29,9 +34,7 @@
<meta-data
android:name="android.max_aspect"
android:value="4.0"/>
<activity android:name=".GlobalApplication$CrashActivity"/>
</application>
</manifest>