diff --git a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/PathService.cs b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/DeviceInfoService.cs similarity index 90% rename from TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/PathService.cs rename to TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/DeviceInfoService.cs index 84b8adb..b697b33 100644 --- a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/PathService.cs +++ b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/DeviceInfoService.cs @@ -16,10 +16,10 @@ using TunisiaPrayer.Services; using Xamarin.Forms; -[assembly: Xamarin.Forms.Dependency(typeof(TunisiaPrayer.Droid.PathService))] +[assembly: Xamarin.Forms.Dependency(typeof(TunisiaPrayer.Droid.DeviceInfoService))] namespace TunisiaPrayer.Droid { - public class PathService : IPathService + public class DeviceInfoService : IDeviceInfoService { private Context context = Android.App.Application.Context; public string PublicExternalFolder @@ -31,6 +31,15 @@ public string PublicExternalFolder } } + public string Architecture + { + get + { + return Android.OS.Build.SupportedAbis[0]; + + } + } + //public async void install(string filePath) //{ diff --git a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/TunisiaPrayer.Android.csproj b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/TunisiaPrayer.Android.csproj index 4d19d01..eefb366 100644 --- a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/TunisiaPrayer.Android.csproj +++ b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer.Android/TunisiaPrayer.Android.csproj @@ -81,7 +81,7 @@ - + diff --git a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Services/IPathService.cs b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Services/IDeviceInfoService.cs similarity index 80% rename from TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Services/IPathService.cs rename to TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Services/IDeviceInfoService.cs index bfbaa81..5e082a6 100644 --- a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Services/IPathService.cs +++ b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Services/IDeviceInfoService.cs @@ -5,10 +5,11 @@ namespace TunisiaPrayer.Services { - public interface IPathService + public interface IDeviceInfoService { //string InternalFolder { get; } string PublicExternalFolder { get; } + string Architecture { get; } //void install(string filePath); //string PrivateExternalFolder { get; } } diff --git a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Views/UpdatesPage.xaml b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Views/UpdatesPage.xaml index cca2c3d..17bcbd9 100644 --- a/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Views/UpdatesPage.xaml +++ b/TunisiaPrayerApp/TunisiaPrayer/TunisiaPrayer/Views/UpdatesPage.xaml @@ -2,18 +2,21 @@ + x:Class="TunisiaPrayer.Views.UpdatesPage" + BackgroundColor="#272c34"> - - -