Browse Source

Android: Fix installing the voices -- use the new espeak-ng-data path.

master
Reece H. Dunn 8 years ago
parent
commit
d1c56e6120

+ 1
- 1
android/src/com/reecedunn/espeak/CheckVoiceData.java View File

@@ -51,7 +51,7 @@ public class CheckVoiceData extends Activity {
};

public static File getDataPath(Context context) {
return new File(context.getDir("voices", MODE_PRIVATE), "espeak-data");
return new File(context.getDir("voices", MODE_PRIVATE), "espeak-ng-data");
}

public static boolean hasBaseResources(Context context) {

+ 1
- 1
android/src/com/reecedunn/espeak/DownloadVoiceData.java View File

@@ -153,7 +153,7 @@ public class DownloadVoiceData extends Activity {
}

final String version = FileUtils.read(mContext.getResources().openRawResource(R.raw.espeakdata_version));
final File outputFile = new File(mOutput, "espeak-data/version");
final File outputFile = new File(mOutput, "espeak-ng-data/version");

FileUtils.write(outputFile, version);
return RESULT_OK;

Loading…
Cancel
Save