### Implement AppIconNameChanger to Switch Launcher Icon and Name Source: https://github.com/myinnos/appiconnamechanger/blob/master/README.md This Java code demonstrates how to use the `AppIconNameChanger.Builder` to programmatically change the active app icon and name. It requires specifying the `activeName` (the alias to enable) and a list of `disableNames` (aliases to disable). The `packageName` is also required. Call `.setNow()` to apply the changes. Note that changes may take up to 10 seconds to refresh on the launcher. ```java // Active alias name String activeName = "in.myinnos.changeappiconandname.MainActivitySettings"; // Disable alias names List disableNames = new ArrayList(); disableNames.add("in.myinnos.changeappiconandname.MainActivityCamera"); disableNames.add("in.myinnos.changeappiconandname.MainActivityMessage"); // Initiate App Icon Name Changer new AppIconNameChanger.Builder(MainActivity.this) .activeName(activeName) // String .disableNames(disableNames) // List .packageName(BuildConfig.APPLICATION_ID) .build() .setNow(); ``` -------------------------------- ### Add JitPack Maven Repository to Gradle Project Source: https://github.com/myinnos/appiconnamechanger/blob/master/README.md This snippet shows how to add the JitPack Maven repository to your project-level `build.gradle` file, which is necessary to resolve dependencies hosted on JitPack. ```java allprojects { repositories { ... maven { url "https://jitpack.io" } } } ``` -------------------------------- ### Add AppIconNameChanger Library Dependency Source: https://github.com/myinnos/appiconnamechanger/blob/master/README.md This snippet demonstrates how to add the `AppIconNameChanger` library as a compile dependency in your app-level or module-level `build.gradle` file. Avoid adding it to both to prevent conflicts. ```java dependencies { compile 'com.github.myinnos:AppIconNameChanger:1.0.7' } ``` -------------------------------- ### Configure Android Manifest Activity Aliases for Icon and Name Changes Source: https://github.com/myinnos/appiconnamechanger/blob/master/README.md This XML snippet illustrates how to define multiple `activity-alias` entries in the `AndroidManifest.xml` file. Each alias represents a different launcher icon and name combination, targeting the same main activity. The `android:enabled` attribute controls which alias is active, and `android:icon` and `android:label` define the icon and name respectively. ```xml ......... ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.