package com.vaenow.appupdate.android;

/**
 * Created by LuoWen on 2015/12/14.
 */
public interface Constants {
    /* 下载中 */
    int DOWNLOAD = 1;
    /* 下载结束 */
    int DOWNLOAD_FINISH = 2;
    /* 点击开始下载按钮*/
    int DOWNLOAD_CLICK_START = 3;

    /**
     * 对比版本号
     */
    int VERSION_COMPARE_START = 200;
    int VERSION_NEED_UPDATE = 201;
    int VERSION_UP_TO_UPDATE = 202;
    int VERSION_UPDATING = 203;

    /**
     * 版本解析错误
     */
    int VERSION_RESOLVE_FAIL = 301;
    int VERSION_COMPARE_FAIL = 302;

    /**
     * 网络错误
     */
    int REMOTE_FILE_NOT_FOUND = 404;
    int NETWORK_ERROR = 405;

    /**
     * 没有相应的方法
     */
    int NO_SUCH_METHOD = 501;

    /**
     * 未知错误
     */
    int UNKNOWN_ERROR = 901;

}

@@ -303,16 +303,60 @@
 T = 200;
+ //private %E5%BC%80%E5%A7%8B%E5%AF%B9%E6%AF%94%E7%89%88%E6%9C%AC%E5%8F%B7; start to compare version
 %0A    int
@@ -382,16 +382,39 @@
 E = 201;
+ //%E6%A3%80%E6%9F%A5%E5%88%B0%E9%9C%80%E8%A6%81%E6%9B%B4%E6%96%B0%EF%BC%9B need update
 %0A    int
@@ -441,16 +441,46 @@
 E = 202;
+ //%E8%BD%AF%E4%BB%B6%E6%98%AF%E4%B8%8D%E9%9C%80%E8%A6%81%E6%9B%B4%E6%96%B0%EF%BC%9Bversion up to date
 %0A    int
@@ -503,16 +503,45 @@
 G = 203;
+ //%E8%BD%AF%E4%BB%B6%E6%AD%A3%E5%9C%A8%E6%9B%B4%E6%96%B0%EF%BC%9Bversion is updating
 %0A%0A    /*
@@ -603,44 +603,126 @@
 301;
-%0A    int VERSION_COMPARE_FAIL = 302;
+ //%E7%89%88%E6%9C%AC%E6%96%87%E4%BB%B6%E8%A7%A3%E6%9E%90%E9%94%99%E8%AF%AF version-xml file resolve fail%0A    int VERSION_COMPARE_FAIL = 302; //%E7%89%88%E6%9C%AC%E6%96%87%E4%BB%B6%E5%AF%B9%E6%AF%94%E9%94%99%E8%AF%AF version-xml file compare fail
 %0A%0A  

Update Constants.java