1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-12-22 18:13:23 +00:00

Problème droid

This commit is contained in:
Maniez Yan 2019-02-10 03:07:36 +01:00
parent f8daf71f27
commit b10dda447d
5 changed files with 66 additions and 21 deletions

View file

@ -50,7 +50,8 @@ namespace AideDeJeu.Droid
}
public string GetNewFilePath(string fileName, string extension)
{
var documentsDirectoryPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);
//var documentsDirectoryPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);
var documentsDirectoryPath = Android.App.Application.Context.CacheDir.AbsolutePath;
return Path.Combine(documentsDirectoryPath, $"{fileName}.{extension}");
}
public async Task CopyOldToNewFileAsync(string fileName, string extension)

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="32" android:versionName="1.32" package="com.nioux.aidedejeubeta" android:installLocation="preferExternal">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="32" android:versionName="1.32" package="com.nioux.aidedejeu" android:installLocation="preferExternal">
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="27" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:label="Haches &amp; Dés beta" android:icon="@drawable/battle_axe"></application>
<application android:label="Haches &amp; Dés" android:icon="@drawable/battle_axe"></application>
</manifest>