public static String[] majorServiceToName(int d) {
		Vector v = new Vector();

		if ((d & 0x2000) > 0) {
			v.addElement("LimitedDiscoverableMode");
		}
		if ((d & 0x10000) > 0) {
			v.addElement("Positioning");
		}
		if ((d & 0x20000) > 0) {
			v.addElement("Networking");
		}
		if ((d & 0x40000) > 0) {
			v.addElement("Rendering");
		}
		if ((d & 0x80000) > 0) {
			v.addElement("Capturing");
		}
		if ((d & 0x100000) > 0) {
			v.addElement("ObjectTransfer");
		}
		if ((d & 0x200000) > 0) {
			v.addElement("Audio");
		}
		if ((d & 0x400000) > 0) {
			v.addElement("Telephony");
		}
		if ((d & 0x800000) > 0) {
			v.addElement("Information");
		}

		String[] str = new String[v.size()];
		v.copyInto(str);
		return str;

	}