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";
<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>