Code example for ResolveInfo

Methods: loadIconloadLabel

0
            altName = info.activityInfo.applicationInfo.sourceDir.replaceFirst("/system/app/", "").split("\\.apk")[0];
        } 
    } 
 
    public void retrieveInfo(PackageManager pm) {
        this.icon = info.loadIcon(pm);
        this.label = (String) info.loadLabel(pm);
    } 
 
    public ResolveInfo getInfo() {
        return info;
    } 
 
    public Type getType() { 
        return type;
    } 
 
    public String getAltName() {
        return altName;
    } 
Connect your IDE to all the code out there  Get Codota for Java