|
|
@ -138,16 +138,6 @@ public final class Resources { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public static String getPathToTempAudioFile(String name) { |
|
|
|
File tempDirFile = new File(tempPath); |
|
|
|
if (!tempDirFile.isDirectory()) { |
|
|
|
if (!new File(tempPath).mkdir()) { |
|
|
|
Logger.logError("TempPath konnte nicht erstellt werden"); |
|
|
|
} |
|
|
|
} |
|
|
|
return tempPath + name + ".opus"; |
|
|
|
} |
|
|
|
|
|
|
|
private static boolean initActivities() { |
|
|
|
activitiesPath = verifyExists(resourcePath + "activities.txt", File::isFile); |
|
|
|
return activitiesPath != null; |
|
|
|