public static ContactLocation convertLocationToType(String loc)
	{
		if (loc.equalsIgnoreCase("DC")) return ContactLocation.DIALLED_CALLS;
		else if (loc.equalsIgnoreCase("MC")) return ContactLocation.MISSED_CALLS;
		else if (loc.equalsIgnoreCase("ME")) return ContactLocation.PHONE_ENTRIES;
		else if (loc.equalsIgnoreCase("SM")) return ContactLocation.SIM_ENTRIES;
		else if (loc.equalsIgnoreCase("MT")) return ContactLocation.ALL_ENTRIES;
		else return ContactLocation.UNKNOWN_ENTRY;
	}