@@ -0,0 +1,771 @@
+package net.solutinno.util;%0A%0Aimport android.content.Context;%0Aimport android.content.pm.PackageInfo;%0Aimport android.content.pm.PackageManager;%0A%0Apublic class PackageHelper%0A%7B%0A    public static String getPackageVersionName(Context context) %7B%0A        PackageInfo info = getPackageInfo(context);%0A        return info == null ? null : info.versionName;%0A    %7D%0A%0A    private static PackageInfo getPackageInfo(Context context) %7B%0A        PackageManager packageManager = context.getPackageManager();%0A        if (packageManager == null) return null;%0A        try %7B%0A            return packageManager.getPackageInfo(context.getPackageName(), 0);%0A        %7D%0A        catch (PackageManager.NameNotFoundException e) %7B%0A            e.printStackTrace();%0A            return null;%0A        %7D%0A    %7D%0A%7D%0A

Add PackageHelper