diff --git a/FiredTVLauncher/FiredTVLauncher.csproj b/FiredTVLauncher/FiredTVLauncher.csproj
index 2a6925e..5512b4b 100644
--- a/FiredTVLauncher/FiredTVLauncher.csproj
+++ b/FiredTVLauncher/FiredTVLauncher.csproj
@@ -14,7 +14,7 @@
True
False
FiredTVLauncher
- v4.4
+ v4.2
Properties\AndroidManifest.xml
diff --git a/FiredTVLauncher/Resources/Resource.designer.cs b/FiredTVLauncher/Resources/Resource.designer.cs
index ebb4ec6..f9e97ae 100644
--- a/FiredTVLauncher/Resources/Resource.designer.cs
+++ b/FiredTVLauncher/Resources/Resource.designer.cs
@@ -1,15 +1,15 @@
#pragma warning disable 1591
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 4.0.30319.17020
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.17929
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
-[assembly: Android.Runtime.ResourceDesignerAttribute("FiredTVLauncher.Resource", IsApplication=true)]
+[assembly: global::Android.Runtime.ResourceDesignerAttribute("FiredTVLauncher.Resource", IsApplication=true)]
namespace FiredTVLauncher
{
@@ -831,8 +831,7 @@ private Style()
public partial class Styleable
{
- public static int[] ProgressWheel = new int[]
- {
+ public static int[] ProgressWheel = new int[] {
2130771968,
2130771969,
2130771970,
diff --git a/FiredTVLauncher/Settings.cs b/FiredTVLauncher/Settings.cs
index 0540e8d..c9f602a 100644
--- a/FiredTVLauncher/Settings.cs
+++ b/FiredTVLauncher/Settings.cs
@@ -148,11 +148,20 @@ ISharedPreferencesEditor editPrefs ()
return prefs.Edit ();
}
+ /**
+ * Return the default wallpaper path
+ */
+ public static string GetWallpaperPath()
+ {
+ var path = System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments);
+ return System.IO.Path.Combine(path, "wallpaper.png");
+ }
+
+
public static string GetWallpaperFilename()
{
- try {
- var path = System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments);
- var filename = System.IO.Path.Combine(path, "wallpaper.png");
+ try {
+ var filename = Settings.GetWallpaperPath();
if (File.Exists (filename))
return filename;
diff --git a/FiredTVLauncher/SettingsActivity.cs b/FiredTVLauncher/SettingsActivity.cs
index aa4a8f5..6a87d63 100644
--- a/FiredTVLauncher/SettingsActivity.cs
+++ b/FiredTVLauncher/SettingsActivity.cs
@@ -53,20 +53,22 @@ protected override void OnCreate (Bundle bundle)
prefWallpaperUrl.PreferenceChange += (sender, e) => {
AndHUD.Shared.Show(this, "Downloading Wallpaper...");
- var url = prefWallpaperUrl.EditText.Text;
+ var url = prefWallpaperUrl.EditText.Text;
- Task.Factory.StartNew (() => {
+ if(url.IndexOf("http://") == -1){
+ url = string.Concat("http://",url);
+ }
+ Task.Run (() => {
try {
- var http = new System.Net.WebClient ();
- var bytes = http.DownloadData (url);
- var filename = Settings.GetWallpaperFilename ();
+ var http = new System.Net.WebClient();
+ var bytes = http.DownloadData(url);
+ var filename = Settings.GetWallpaperPath();
System.IO.File.WriteAllBytes (filename, bytes);
} catch (Exception ex) {
Settings.Instance.WallpaperUrl = string.Empty;
-
- Toast.MakeText (this, "Failed to Download Wallpaper", ToastLength.Long).Show ();
+ //Toast.MakeText (this, "Failed to Download Wallpaper", ToastLength.Long).Show ();
Log.Error ("Downloading Wallpaper Failed", ex);
}
diff --git a/Launchers.Common/AppInfo.cs b/Launchers.Common/AppInfo.cs
index e0681c7..a643064 100644
--- a/Launchers.Common/AppInfo.cs
+++ b/Launchers.Common/AppInfo.cs
@@ -37,7 +37,7 @@ public Drawable GetIcon (Context context, Dictionary overrideIcons
Drawable icon = null;
var metrics = new List {
- DisplayMetricsDensity.Xxxhigh,
+ //DisplayMetricsDensity.Xxxhigh,
DisplayMetricsDensity.Xxhigh,
DisplayMetricsDensity.Xhigh,
DisplayMetricsDensity.Tv
diff --git a/Launchers.Common/Launchers.Common.csproj b/Launchers.Common/Launchers.Common.csproj
index a4a66e0..c7a53dd 100644
--- a/Launchers.Common/Launchers.Common.csproj
+++ b/Launchers.Common/Launchers.Common.csproj
@@ -13,7 +13,7 @@
Resources\Resource.designer.cs
False
Launchers.Common
- v4.3
+ v4.2
true
diff --git a/Launchers.Common/Resources/Resource.designer.cs b/Launchers.Common/Resources/Resource.designer.cs
index fdd4b73..9e17496 100644
--- a/Launchers.Common/Resources/Resource.designer.cs
+++ b/Launchers.Common/Resources/Resource.designer.cs
@@ -1,15 +1,15 @@
#pragma warning disable 1591
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 4.0.30319.17020
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.17929
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
-[assembly: Android.Runtime.ResourceDesignerAttribute("Launchers.Common.Resource", IsApplication=false)]
+[assembly: global::Android.Runtime.ResourceDesignerAttribute("Launchers.Common.Resource", IsApplication=false)]
namespace Launchers.Common
{