public static String buildAddDevicesCommand(ArrayList<AndroidDevice> devices, String[] colnames){

		String stmt = "BEGIN; \n";
		for (AndroidDevice device : devices){
			stmt +=	"INSERT INTO " ;
			stmt +=	DBSettings.TABLE_NAME;
			stmt += " " ;
			stmt += "(";
			stmt += buildColNames(colnames);
			stmt += "VALUES ";
			stmt += buildValues(device);
			stmt += ";\n";
		}
		stmt += "COMMIT; ";
		log(stmt);
		return stmt;
	}