Get Icon from another android Application

android, icons, package

Solution

Use PackagerManager's getApplicationIcon() for this task:

Drawable appIcon = getPackageManager().getApplicationIcon("com.google.maps");

Problem

How do I get to the Icon Launcher from another Android application on the device if I know its Package Name? Example ``` String googlePackageName = "com.google.maps"; Drawable googleIcon = googlePackageName.getIconLauncher() or something. ```

Original source