I have tried various solution from stack overflow with no luck. What I want.
try { Drawable drawable = getPackageManager() .getApplicationIcon("com.whatsapp"); imageView.setImageDrawable(drawable); } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); }