This change uses Tizen.Common.Color instead of Tizen.UI.Color.
Tizen.Applications.UIApplication class has moved to Tizen.UI.dll.
Change-Id: I52b2bca93316ebc928eb6367188b7210a412564d
<Compile Include="Tizen.Applications\SafePackageManagerHandle.cs" />
<Compile Include="Tizen.Applications\ServiceApplication.cs" />
<Compile Include="Tizen.Applications\StorageType.cs" />
- <Compile Include="Tizen.Applications\UIApplication.cs" />
<Compile Include="Tizen.Applications\ApplicationLaunchedEventArgs.cs" />
<Compile Include="Tizen.Applications\ApplicationManager.cs" />
<Compile Include="Tizen.Applications\ApplicationInfoFilter.cs" />
<Reference Include="Tizen.Internals">
<HintPath>..\..\tizen\Tizen.Internals\bin\Debug\Tizen.Internals.dll</HintPath>
</Reference>
- <Reference Include="Tizen.UI">
- <HintPath>..\..\uifw\Tizen.UI\bin\Debug\Tizen.UI.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\tizen\Tizen.Internals\Tizen.Internals.csproj">
<Project>{7659ca59-410d-41a1-9841-586e88bc78c9}</Project>
<Name>Tizen</Name>
</ProjectReference>
- <ProjectReference Include="..\..\uifw\Tizen.UI\Tizen.UI.csproj">
- <Project>{d34841f9-046b-4dbf-9698-143386c24f78}</Project>
- <Name>Tizen.UI</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <WCFMetadata Include="Service References\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
\ No newline at end of file
// you entered into with Samsung.
using System;
-using System.Collections;
-using System.Collections.Generic;
using System.Runtime.InteropServices;
-using Tizen.UI;
+
+using Tizen.System;
namespace Tizen.Applications.Notifications
{
case Interop.PackageManager.ErrorCode.PermissionDenied:
return new UnauthorizedAccessException(errMessage);
case Interop.PackageManager.ErrorCode.IoError:
- return new System.IO.IOException(errMessage);
+ return new global::System.IO.IOException(errMessage);
default:
return new InvalidOperationException(errMessage);
}
+++ /dev/null
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using Tizen.UI;
-
-namespace Tizen.Applications
-{
- /// <summary>
- /// Represents an application that have UI screen. The UIApplication class has a default main window.
- /// </summary>
- public class UIApplication : CoreUIApplication
- {
- /// <summary>
- /// The main window instance of the UIApplication.
- /// </summary>
- /// <remarks>
- /// This window is created before OnCreate() or created event. And the UIApplication will be terminated when this window is closed.
- /// </remarks>
- public Window Window { get; private set; }
-
- /// <summary>
- /// Overrides this method if want to handle behavior before calling OnCreate().
- /// Window property is initialized in this overrided method.
- /// </summary>
- protected override void OnPreCreate()
- {
- Window = new Window("C# UI Application");
- Window.Closed += (s, e) =>
- {
- Exit();
- };
- }
- }
-}
# C# API Requries
BuildRequires: csapi-tizen
-BuildRequires: csapi-uifw
%description
Tizen Application API for C#