@@ -0,0 +1,500 @@
+package com.camnter.newlife.utils;%0A%0Aimport android.os.Build;%0A%0A/**%0A * Description%EF%BC%9AVersionUtil%0A * Created by%EF%BC%9ACaMnter%0A * Time%EF%BC%9A2015-12-04 22:37%0A */%0Apublic class VersionUtil %7B%0A    /**%0A     * %E6%A3%80%E6%9F%A5%E5%BD%93%E5%89%8D%E7%89%88%E6%9C%AC%E6%98%AF%E5%90%A6%E5%A4%A7%E4%BA%8E%E7%9B%AE%E6%A0%87%E7%89%88%E6%9C%AC%0A     * Check whether the current version is greater than the target version%0A     *%0A     * @param targetVersion target version %7B@link Build.VERSION_CODES%7D%0A     * @return result%0A     */%0A    public boolean thanOrEqual(int targetVersion) %7B%0A        return Build.VERSION.SDK_INT %3E= targetVersion;%0A    %7D%0A%7D%0A

add VersionUtil