How does access to the icon pack start?

There are many icon packs in the Google Play store that are compatible with launchers, I'm just wondering how you can access the launcher and identify such a icon pack so that it reflects on the launchers.

I managed to code inside the Icon pack , which is associated with the launcher, but ow launcher accessing such icon pack, so it will handle appropriate icon pack and get reflect to launcher?

code in the icon pack, determine the required name of the launch package @

  <!-- 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> 

I described the XDA Developer's Guide , but have not received any solution, can anyone shed some light?

+6
source share
1 answer

This application has all intent filters for different launchers, and an action will act in accordance with this intention. they are defined by the launchers <action android:name="com.gau.go.launcherex.theme" /> and <category android:name="com.fede.launcher.THEME_ICONPACK" /> , and your application performs the actions in accordance with and provides icons when a particular launcher launches an intent.

0
source

Source: https://habr.com/ru/post/953539/


All Articles