Android 启动器如何访问图标包?

Android 启动器如何访问图标包?,android,android-launcher,android-icons,Android,Android Launcher,Android Icons,Google play store上有很多图标包,它们与launchers兼容,我只是想知道launcher是如何访问和识别这样的图标包的,这样它才能反映到launchers上 <!-- Go / Nova --> <intent-filter> <action android:name="android.intent.action.MAIN" />

Google play store上有很多图标包,它们与launchers兼容,我只是想知道launcher是如何访问和识别这样的图标包的,这样它才能反映到launchers上

            <!-- Go / Nova -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="com.gau.go.launcherex.theme" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
        <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>

            <!-- LauncherPro / Holo -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.fede.launcher.THEME_ICONPACK" />
            </intent-filter>
我成功地在链接到launcher的
图标包
中编码,但
如何启动程序访问这样的图标包,因此它将处理适当的图标包并将反射到launcher?

            <!-- Go / Nova -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="com.gau.go.launcherex.theme" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
        <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>

            <!-- LauncherPro / Holo -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.fede.launcher.THEME_ICONPACK" />
            </intent-filter>
图标包中的代码,定义必要的启动程序包名称@

            <!-- Go / Nova -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="com.gau.go.launcherex.theme" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
        <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>

            <!-- LauncherPro / Holo -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.fede.launcher.THEME_ICONPACK" />
            </intent-filter>


但是没有得到任何解决方案,有人能解释吗?

此应用程序具有针对不同启动器的所有意图过滤器,并且将根据该意图执行操作。这些由启动器

            <!-- Go / Nova -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="com.gau.go.launcherex.theme" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
        <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>

            <!-- LauncherPro / Holo -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.fede.launcher.THEME_ICONPACK" />
            </intent-filter>

并且您的应用程序会根据这些进行操作,并在特定启动器触发意图时提供图标。

操作和类别
执行魔法或必须执行其他操作?你有任何教程或任何其他文件吗?是的,应该就这些了。您可以使用这些链接
            <!-- Go / Nova -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="com.gau.go.launcherex.theme" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
        <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>

            <!-- LauncherPro / Holo -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.fede.launcher.THEME_ICONPACK" />
            </intent-filter>