【问题标题】:How launcher accessing Icon pack?启动器如何访问图标包?
【发布时间】:2013-09-13 17:24:28
【问题描述】:

Google Play 商店中有很多图标包可用,它们与启动器兼容,我只是想知道启动器如何访问和识别此类图标包以便反映到启动器。

我成功在Icon pack 中编码,它链接到启动器但ow launcher accessing such icon pack, so it will handle appropriate icon pack and get reflect to 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>

我关注了XDA developers Guide,但没有得到任何解决方案,有人能解释一下吗?

【问题讨论】:

    标签: android android-launcher android-icons


    【解决方案1】:

    此应用程序具有针对不同启动器的所有意图过滤器,并且将根据该意图执行操作。这些由启动器 <action android:name="com.gau.go.launcherex.theme" /> &lt;category android:name="com.fede.launcher.THEME_ICONPACK" /&gt; 定义,您的应用程序会根据这些执行操作,并在特定启动器触发 Intent 时提供图标。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-04-26
    • 2019-10-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-11
    • 1970-01-01
    相关资源
    最近更新 更多