package com.beloko.quaketouch;

import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.NameNotFoundException;

public class GD {
	public static boolean DEBUG = false;
	
	static boolean expired = false;
	
	static String key = "";
	
	static int version;
	
	static void init(Context ctx)
	{
		PackageInfo pInfo;
		try {
			pInfo = ctx.getPackageManager().getPackageInfo(ctx.getPackageName(), 0);
			version = pInfo.versionCode;
		} catch (NameNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
