IFileSystemAPIs fsApi = DependencyService.Get<IFileSystemAPIs>();
if (fsApi != null)
{
- // Temporary, use preinstalled screenshot
- string capturedAppScreen = @"/tmp/" + item.AppID + ".jpg";
+ string capturedAppScreen = fsApi.PlatformShareStorage + item.AppID + ".jpg";
if (fsApi.IsFileExist(capturedAppScreen))
{
recentShortcutInfo.ScreenshotPath = capturedAppScreen;
}
else
{
- //string testScreenShot = fsApi.PlatformShareStorage + item.AppID + ".png";
string testScreenShot = fsApi.AppResourceStorage + item.AppID + ".png";
if (fsApi.IsFileExist(testScreenShot))
{
FileSystemPort.AppDataStroagePath = DirectoryInfo.Data;
FileSystemPort.AppResourceStoragePath = DirectoryInfo.Resource;
- FileSystemPort.PlatformShareStroagePath = "/opt/usr/home/owner/share/";
+ string platformShareStoragePath = "/opt/usr/home/owner/share/";
+ FileSystemPort.PlatformShareStroagePath = platformShareStoragePath;
var app = new App(MainWindow.ScreenSize.Width,
MainWindow.ScreenSize.Height,
/// Sniper
try
{
- Sniper sniper = new Sniper((IntPtr)MainWindow, "/tmp", 960, 540);
+ Sniper sniper = new Sniper((IntPtr)MainWindow, platformShareStoragePath, 960, 540);
sniper.UpdatedEvent += OnScreenUpdate;
sniper.AddRemoveEvent += SniperAddRemoveEvent;
sniper.SkipUpdateEvent += SniperSkipUpdateEvent;
<Content Include="res\img_tizen_home_list_bg_white_focused.png" />
<Content Include="res\img_tizen_home_list_bg_white_normal.png" />
<Content Include="res\img_tizen_home_list_dimmed_recent.png" />
+ <Content Include="res\org.tizen.example.Amazon.Tizen.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.iV.Tizen.png" />
+ <Content Include="res\org.tizen.example.Hulu.Tizen.png" />
<Content Include="res\org.tizen.example.Mustache.Tizen.png" />
+ <Content Include="res\org.tizen.example.Netflix.Tizen.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.Tizen.png" />
+ <Content Include="res\org.tizen.example.XBox.Tizen.png" />
<Content Include="res\org.tizen.example.YouTube.Tizen.png" />
<Content Include="res\screenshot.png" />
</ItemGroup>