I want to get icons of my all installed apps. Can I get that icons using package manager? Is there any function for it? Or any other way to get icons of all installed apps in bitmap?
Thanks!
The icons reside inside the . apk of each individual app.
To enable a disabled app From your Home screen, tap the Application screen icon. Find and tap Settings > Apps. Tap All apps > Disabled. Select the app that you want to enable, then tap Enable.
try { String pkg = "com.app.my";//your package name Drawable icon = getContext().getPackageManager().getApplicationIcon(pkg); imageView.setImageDrawable(icon); } catch (PackageManager.NameNotFoundException ne) { }
Check here for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With