Android Open Source - UpdateMaster Package Info






From Project

Back to project page UpdateMaster.

License

The source code is released under:

Apache License

If you think the Android project UpdateMaster 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 com.cvsi.updatemaster.data;
/*from www .j  a  v  a  2 s .com*/
import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
* Created by rivasyshyn on 19.09.2014.
*/
public class PackageInfo implements Parcelable {

    @Expose
    @SerializedName("apk_version")
    String apkVersion;
    @Expose
    @SerializedName("size")
    String apkSize;
    @Expose
    @SerializedName("package_name")
    String packageName;
    @Expose
    @SerializedName("file_name")
    String apkName;
    @Expose
    @SerializedName("release_notes")
    String releaseNotes;
    @Expose
    @SerializedName("apk_link")
    String apkLink;

    public String getApkVersion() {
        return apkVersion;
    }

    public String getApkSize() {
        return apkSize;
    }

    public String getPackageName() {
        return packageName;
    }

    public String getApkName() {
        return apkName;
    }

    public String getReleaseNotes() {
        return releaseNotes;
    }

    public String getApkLink() {
        return apkLink;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(apkLink);
        dest.writeString(apkName);
        dest.writeString(apkSize);
        dest.writeString(apkVersion);
        dest.writeString(packageName);
        dest.writeString(releaseNotes);
    }

    public PackageInfo(Parcel source) {
        apkLink = source.readString();
        apkName = source.readString();
        apkSize = source.readString();
        apkVersion = source.readString();
        packageName = source.readString();
        releaseNotes = source.readString();
    }

    public static Creator<PackageInfo> CREATOR = new Creator<PackageInfo>() {
        @Override
        public PackageInfo createFromParcel(Parcel source) {
            return new PackageInfo(source);
        }

        @Override
        public PackageInfo[] newArray(int size) {
            return new PackageInfo[size];
        }
    };
}




Java Source Code List

com.cvsi.updatemaster.ApplicationTest.java
com.cvsi.updatemaster.activities.MainActivity.java
com.cvsi.updatemaster.activities.SplashActivity.java
com.cvsi.updatemaster.controller.AbstractViewController.java
com.cvsi.updatemaster.controller.ListFragment.java
com.cvsi.updatemaster.controller.PackageFragment.java
com.cvsi.updatemaster.controller.RemoteImageProvider.java
com.cvsi.updatemaster.data.PackageInfo.java
com.cvsi.updatemaster.data.Resource.java
com.cvsi.updatemaster.dialogs.ErrorDialog.java
com.cvsi.updatemaster.dialogs.SettingsDialog.java
com.cvsi.updatemaster.utils.SelfUpdateUtil.java