Screenshots for sample apps are added
authorKyuho Jo <kyuho.jo@samsung.com>
Mon, 8 May 2017 05:15:01 +0000 (14:15 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:54 +0000 (18:34 +0900)
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Change-Id: I2981bcd2f67d2fc5c6dbf8bfcaa18c9a118e732b

15 files changed:
LibTVRefCommonPortable/Models/RecentShortcutController.cs
TVHome/TVHome.TizenTV/TVHome.TizenTV.csproj
TVHome/TVHome.TizenTV/res/org.tizen.example.Bawee.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Be183.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Butterfly.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Calculator.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Channel8.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.HomeFitness.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Mustache.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Radio.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Sports.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Switcho.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.TocToc.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.Toda.Tizen.png [new file with mode: 0644]
TVHome/TVHome.TizenTV/res/org.tizen.example.iV.Tizen.png [new file with mode: 0644]

index 2a8231b..c068c13 100755 (executable)
@@ -186,7 +186,20 @@ namespace LibTVRefCommonPortable.Models
 
                 var recentShortcutInfo = new RecentShortcutInfo();
 
-                recentShortcutInfo.ScreenshotPath = item.ThumbnailPath;
+                recentShortcutInfo.ScreenshotPath = item.FilePath + ".tn";
+
+                if (item.ThumbnailPath != null)
+                {
+                    IFileSystemAPIs fsApi = DependencyService.Get<IFileSystemAPIs>();
+                    if (fsApi != null)
+                    {
+                        if (fsApi.IsFileExist(item.ThumbnailPath))
+                        {
+                            recentShortcutInfo.ScreenshotPath = item.ThumbnailPath;
+                        }
+                    }
+                }
+
                 recentShortcutInfo.StateDescriptions.Add("default", defaultStateDescription);
                 recentShortcutInfo.CurrentStateDescription = defaultStateDescription;
                 recentShortcutInfo.Id = "org.tizen.xamediahub";
index 35959a3..0de5d25 100755 (executable)
     <Content Include="res\img_tizen_home_list_dim_recent.png" />
     <Content Include="res\img_tizen_home_menu_focused_bg.png" />
     <Content Include="res\org.tizen.example.Amazon.TizenTV.png" />
+    <Content Include="res\org.tizen.example.Bawee.Tizen.png" />
+    <Content Include="res\org.tizen.example.Be183.Tizen.png" />
+    <Content Include="res\org.tizen.example.Butterfly.Tizen.png" />
+    <Content Include="res\org.tizen.example.Calculator.Tizen.png" />
+    <Content Include="res\org.tizen.example.Channel8.Tizen.png" />
+    <Content Include="res\org.tizen.example.HomeFitness.Tizen.png" />
     <Content Include="res\org.tizen.example.Hulu.TizenTV.png" />
+    <Content Include="res\org.tizen.example.iV.Tizen.png" />
+    <Content Include="res\org.tizen.example.Mustache.Tizen.png" />
     <Content Include="res\org.tizen.example.Netflix.TizenTV.png" />
+    <Content Include="res\org.tizen.example.Radio.Tizen.png" />
+    <Content Include="res\org.tizen.example.Sports.Tizen.png" />
+    <Content Include="res\org.tizen.example.Switcho.Tizen.png" />
+    <Content Include="res\org.tizen.example.TocToc.Tizen.png" />
+    <Content Include="res\org.tizen.example.Toda.Tizen.png" />
     <Content Include="res\org.tizen.example.Vimeo.TizenTV.png" />
     <Content Include="res\org.tizen.example.XBox.TizenTV.png" />
+    <Content Include="res\org.tizen.example.YouTube.Tizen.png" />
     <Content Include="res\org.tizen.example.Youtube.TizenTV.png" />
     <Content Include="res\screenshot.png" />
   </ItemGroup>
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Bawee.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Bawee.Tizen.png
new file mode 100644 (file)
index 0000000..ed860e1
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Bawee.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Be183.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Be183.Tizen.png
new file mode 100644 (file)
index 0000000..ed860e1
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Be183.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Butterfly.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Butterfly.Tizen.png
new file mode 100644 (file)
index 0000000..caae66d
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Butterfly.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Calculator.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Calculator.Tizen.png
new file mode 100644 (file)
index 0000000..caae66d
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Calculator.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Channel8.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Channel8.Tizen.png
new file mode 100644 (file)
index 0000000..3a672b0
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Channel8.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.HomeFitness.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.HomeFitness.Tizen.png
new file mode 100644 (file)
index 0000000..3a672b0
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.HomeFitness.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Mustache.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Mustache.Tizen.png
new file mode 100644 (file)
index 0000000..e84d9bf
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Mustache.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Radio.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Radio.Tizen.png
new file mode 100644 (file)
index 0000000..e84d9bf
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Radio.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Sports.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Sports.Tizen.png
new file mode 100644 (file)
index 0000000..a7324ed
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Sports.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Switcho.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Switcho.Tizen.png
new file mode 100644 (file)
index 0000000..a7324ed
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Switcho.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.TocToc.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.TocToc.Tizen.png
new file mode 100644 (file)
index 0000000..8e2ae14
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.TocToc.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.Toda.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.Toda.Tizen.png
new file mode 100644 (file)
index 0000000..8e2ae14
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.Toda.Tizen.png differ
diff --git a/TVHome/TVHome.TizenTV/res/org.tizen.example.iV.Tizen.png b/TVHome/TVHome.TizenTV/res/org.tizen.example.iV.Tizen.png
new file mode 100644 (file)
index 0000000..8e2ae14
Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/org.tizen.example.iV.Tizen.png differ