Android Open Source - lbv App Info






From Project

Back to project page lbv.

License

The source code is released under:

Apache License

If you think the Android project lbv listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package ms.gwillia.lbv;
//  w  w  w. j a  va2s  .  c o  m
import android.graphics.drawable.Drawable;

/**
 * Created by encima on 05/11/14.
 */
public class AppInfo {

    private String appName;
    private String packageName;
    private Drawable icon;

    public AppInfo() {

    }

    public AppInfo(String name, String pkg, Drawable icon) {
        this.appName = name;
        this.packageName = pkg;
        this.icon = icon;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return this.appName + ": " + this.packageName;
    }
}




Java Source Code List

ms.gwillia.lbv.AppInfo.java
ms.gwillia.lbv.ApplicationTest.java
ms.gwillia.lbv.MainActivity.java