private ArrayList<AndroidDevice> decodeRSMD(ResultSet rs, int columnCount,
			String[] colnames) {

		if (rs != null){
			ArrayList<AndroidDevice> devices = new ArrayList<AndroidDevice>();
			try {
				if(rs.next() && !rs.isAfterLast()){

					AndroidDevice device = new AndroidDevice();
					device.setCommonName(rs.getString(DBSettings.KEY_COMMON_NAME));
					device.setManufacturer(rs.getString(DBSettings.KEY_BRAND_NAME));
					device.setModelNum(rs.getString(DBSettings.KEY_MODEL));
					devices.add(device);

				}else return devices;

			} catch (SQLException e) {
				e.printStackTrace();	
			}

		}else return null;

		return null;
	}