{
List<RecentShortcutInfo> recentShortcutInfoList = new List<RecentShortcutInfo>();
- var recentApps = ApplicationManagerUtils.GetRecentApplications();
+ var defaultStateDescription = new StateDescription()
+ {
+ Label = "Youtube",
+ IconPath = "ic_home_settings_all_138.png",
+ Action = new AppControlAction()
+ {
+ AppID = "org.tizen.example.Youtube.TizenTV",
+ }
+ };
+ var recentShortcutInfo = new RecentShortcutInfo();
+ string testScreenShot = "org.tizen.example.Youtube.Tizen.png";
+
+ recentShortcutInfo.ScreenshotPath = testScreenShot;
+
+ recentShortcutInfo.StateDescriptions.Add("default", defaultStateDescription);
+ recentShortcutInfo.CurrentStateDescription = defaultStateDescription;
+ recentShortcutInfo.AppID = "org.tizen.example.Youtube.TizenTV";
+ recentShortcutInfoList.Add(recentShortcutInfo);
+
+ /*var recentApps = ApplicationManagerUtils.GetRecentApplications();
foreach (var item in recentApps)
{
if (ManagedApps.IsHiddenRecentApp(item.AppID))
recentShortcutInfo.CurrentStateDescription = defaultStateDescription;
recentShortcutInfo.AppID = item.AppID;
recentShortcutInfoList.Add(recentShortcutInfo);
- }
+ }*/
return recentShortcutInfoList;
<Content Include="res\ic_home_menu_apps_182.png" />
<Content Include="res\ic_launcher_mediahub_138.png" />
<Content Include="res\ic_launcher_mediahub_182.png" />
+ <Content Include="res\ic_list_thumbnail_gradient_focused.9.png" />
+ <Content Include="res\ic_list_thumbnail_gradient_normal.9.png" />
<Content Include="res\ic_tizen_home_list_addpin_focused.png" />
<Content Include="res\ic_tizen_home_list_addpin_normal.png" />
<Content Include="res\ic_tizen_home_list_allapps_focused.png" />
<Content Include="res\ic_tizen_home_menu_settings_selected.png" />
<Content Include="res\ic_tizen_home_menu_settings_unselect.png" />
<Content Include="res\ic_tizen_home_menu_settings_unselected.png" />
- <Content Include="res\ic_tizen_list_thumbnail_gradient_focused.9.png" />
- <Content Include="res\ic_tizen_list_thumbnail_gradient_normal.9.png" />
<Content Include="res\ic_tizen_option_box_more_dimmed.png" />
<Content Include="res\ic_tizen_option_box_more_normal.png" />
<Content Include="res\ic_tizen_option_menu_list_box_check_focused.png" />