	public void onReceive(Context context, Intent intent) {
		mContext = context;
		mContentResolver = context.getContentResolver();
		mPreferences = context.getSharedPreferences("preferences",
				Context.MODE_PRIVATE);
		boolean firstTime = mPreferences.getBoolean("firstTime", true);
		if (firstTime) {
			SharedPreferences.Editor editor = mPreferences.edit();
			editor.putBoolean("firstTime", false);
			editor.commit();
			new CreateDatabase().execute();
		} else
			new ScanForPackages().execute();
	}

	public void onReceive(Context context, Intent intent) {
		mContext = context;
		mContentResolver = context.getContentResolver();
		mPreferences = context.getSharedPreferences("preferences",
				Context.MODE_PRIVATE);
		boolean firstTime = mPreferences.getBoolean("firstTime", true);
		if (firstTime) {
			SharedPreferences.Editor editor = mPreferences.edit();
			editor.putBoolean("firstTime", false);
			editor.commit();
			try {
				new CreateDatabase().execute();
			} catch (Exception e) {
			}
		} else {
			try {
				new ScanForPackages().execute();
			} catch (Exception e) {
			}
		}
	}
