Split Tize.Applications.dll
authorJunghoon Park <jh9216.park@samsung.com>
Mon, 6 Feb 2017 10:06:08 +0000 (19:06 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Wed, 8 Feb 2017 03:51:11 +0000 (12:51 +0900)
- Support configurable packages to make a headless profile
- Tizen.Applications.dll will be splitted into
  Tizen.Applications.Common.dll
  Tizen.Applications.Alarm.dll
  Tizen.Applications.MessagePort.dll
  Tizen.Applications.Notification.dll
  Tizen.Applications.PackageManager.dll
  Tizen.Applications.Service.dll
  Tizen.Applications.UI
  Tizen.Applications.Preference.dll

Change-Id: Ib87006ab2ccc87b9162e55d8eeade533e6ee3af9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
146 files changed:
Tizen.Applications.sln [new file with mode: 0755]
Tizen.Applications/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs [deleted file]
Tizen.Applications/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs [deleted file]
Tizen.Applications/Tizen.Applications.CoreBackend/UICoreBackend.cs [deleted file]
Tizen.Applications/Tizen.Applications.Net45.csproj [changed mode: 0644->0755]
Tizen.Applications/Tizen.Applications.csproj
packaging/csapi-application.spec
src/Tizen.Applications.Alarm/Interop/Interop.Alarm.cs [moved from Tizen.Applications/Interop/Interop.Alarm.cs with 100% similarity]
src/Tizen.Applications.Alarm/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.Alarm/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.csproj [new file with mode: 0755]
src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.nuspec [new file with mode: 0755]
src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.project.json [new file with mode: 0755]
src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.snk [new file with mode: 0755]
src/Tizen.Applications.Alarm/Tizen.Applications/Alarm.cs [moved from Tizen.Applications/Tizen.Applications/Alarm.cs with 100% similarity]
src/Tizen.Applications.Alarm/Tizen.Applications/AlarmErrorFactory.cs [moved from Tizen.Applications/Tizen.Applications/AlarmErrorFactory.cs with 100% similarity]
src/Tizen.Applications.Alarm/Tizen.Applications/AlarmManager.cs [moved from Tizen.Applications/Tizen.Applications/AlarmManager.cs with 100% similarity]
src/Tizen.Applications.Common/Interop/Interop.AppCommon.cs [moved from Tizen.Applications/Interop/Interop.AppCommon.cs with 91% similarity]
src/Tizen.Applications.Common/Interop/Interop.AppControl.cs [moved from Tizen.Applications/Interop/Interop.AppControl.cs with 96% similarity]
src/Tizen.Applications.Common/Interop/Interop.ApplicationManager.cs [moved from Tizen.Applications/Interop/Interop.ApplicationManager.cs with 100% similarity]
src/Tizen.Applications.Common/Interop/Interop.Bundle.cs [moved from Tizen.Applications/Interop/Interop.Bundle.cs with 100% similarity]
src/Tizen.Applications.Common/Interop/Interop.Glib.cs [moved from Tizen.Applications/Interop/Interop.Glib.cs with 100% similarity]
src/Tizen.Applications.Common/Interop/Interop.Libc.cs [moved from Tizen.Applications/Interop/Interop.Libc.cs with 100% similarity]
src/Tizen.Applications.Common/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.Common/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.Common.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.Common.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.Common.csproj [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.Common.nuspec [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.Common.project.json [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.Common.snk [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs [new file with mode: 0755]
src/Tizen.Applications.Common/Tizen.Applications.CoreBackend/EventType.cs [moved from Tizen.Applications/Tizen.Applications.CoreBackend/EventType.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications.CoreBackend/ICoreBackend.cs [moved from Tizen.Applications/Tizen.Applications.CoreBackend/ICoreBackend.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/AppControl.cs [moved from Tizen.Applications/Tizen.Applications/AppControl.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/AppControlData.cs [moved from Tizen.Applications/Tizen.Applications/AppControlData.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/AppControlLaunchMode.cs [moved from Tizen.Applications/Tizen.Applications/AppControlLaunchMode.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/AppControlOperations.cs [moved from Tizen.Applications/Tizen.Applications/AppControlOperations.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/AppControlReceivedEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/AppControlReceivedEventArgs.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/AppControlReplyCallback.cs [moved from Tizen.Applications/Tizen.Applications/AppControlReplyCallback.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/AppControlReplyResult.cs [moved from Tizen.Applications/Tizen.Applications/AppControlReplyResult.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/Application.cs [moved from Tizen.Applications/Tizen.Applications/Application.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ApplicationInfo.cs [moved from Tizen.Applications/Tizen.Applications/ApplicationInfo.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ApplicationInfoFilter.cs [moved from Tizen.Applications/Tizen.Applications/ApplicationInfoFilter.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ApplicationInfoMetadataFilter.cs [moved from Tizen.Applications/Tizen.Applications/ApplicationInfoMetadataFilter.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ApplicationLaunchedEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/ApplicationLaunchedEventArgs.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ApplicationManager.cs [moved from Tizen.Applications/Tizen.Applications/ApplicationManager.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ApplicationTerminatedEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/ApplicationTerminatedEventArgs.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ApplicationType.cs [moved from Tizen.Applications/Tizen.Applications/ApplicationType.cs with 88% similarity]
src/Tizen.Applications.Common/Tizen.Applications/Bundle.cs [moved from Tizen.Applications/Tizen.Applications/Bundle.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/CoreApplication.cs [moved from Tizen.Applications/Tizen.Applications/CoreApplication.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/DirectoryInfo.cs [moved from Tizen.Applications/Tizen.Applications/DirectoryInfo.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/LocaleChangedEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/LocaleChangedEventArgs.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/LowBatteryEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/LowBatteryEventArgs.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/LowBatteryStatus.cs [moved from Tizen.Applications/Tizen.Applications/LowBatteryStatus.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/LowMemoryEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/LowMemoryEventArgs.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/LowMemoryStatus.cs [moved from Tizen.Applications/Tizen.Applications/LowMemoryStatus.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/ReceivedAppControl.cs [moved from Tizen.Applications/Tizen.Applications/ReceivedAppControl.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/RegionFormatChangedEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/RegionFormatChangedEventArgs.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/SafeAppControlHandle.cs [moved from Tizen.Applications/Tizen.Applications/SafeAppControlHandle.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/SafeBundleHandle.cs [moved from Tizen.Applications/Tizen.Applications/SafeBundleHandle.cs with 100% similarity]
src/Tizen.Applications.Common/Tizen.Applications/TizenSynchronizationContext.cs [moved from Tizen.Applications/Tizen.Applications/TizenSynchronizationContext.cs with 100% similarity]
src/Tizen.Applications.MessagePort/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Interop/Interop.MessagePort.cs [moved from Tizen.Applications/Interop/Interop.MessagePort.cs with 100% similarity]
src/Tizen.Applications.MessagePort/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.csproj [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.nuspec [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.project.json [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.snk [new file with mode: 0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessagePort.cs [moved from Tizen.Applications/Tizen.Applications.Messages/MessagePort.cs with 99% similarity]
src/Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessagePortErrorFactory.cs [moved from Tizen.Applications/Tizen.Applications.Messages/MessagePortErrorFactory.cs with 100% similarity]
src/Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessageReceivedEventArgs.cs [moved from Tizen.Applications/Tizen.Applications.Messages/MessageReceivedEventArgs.cs with 100% similarity]
src/Tizen.Applications.MessagePort/Tizen.Applications.Messages/RemoteValues.cs [moved from Tizen.Applications/Tizen.Applications.Messages/RemoteValues.cs with 100% similarity]
src/Tizen.Applications.Notification/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.Notification/Interop/Interop.Notification.cs [moved from Tizen.Applications/Interop/Interop.Notification.cs with 100% similarity]
src/Tizen.Applications.Notification/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.Notification/Tizen.Applications.Notification.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.Notification/Tizen.Applications.Notification.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.Notification/Tizen.Applications.Notification.csproj [new file with mode: 0755]
src/Tizen.Applications.Notification/Tizen.Applications.Notification.nuspec [new file with mode: 0755]
src/Tizen.Applications.Notification/Tizen.Applications.Notification.project.json [new file with mode: 0755]
src/Tizen.Applications.Notification/Tizen.Applications.Notification.snk [new file with mode: 0755]
src/Tizen.Applications.Notification/Tizen.Applications/EventNotification.cs [moved from Tizen.Applications/Tizen.Applications/EventNotification.cs with 100% similarity]
src/Tizen.Applications.Notification/Tizen.Applications/Notification.cs [moved from Tizen.Applications/Tizen.Applications/Notification.cs with 100% similarity]
src/Tizen.Applications.Notification/Tizen.Applications/NotificationEnumerations.cs [moved from Tizen.Applications/Tizen.Applications/NotificationEnumerations.cs with 100% similarity]
src/Tizen.Applications.Notification/Tizen.Applications/NotificationErrorFactory.cs [moved from Tizen.Applications/Tizen.Applications/NotificationErrorFactory.cs with 100% similarity]
src/Tizen.Applications.Notification/Tizen.Applications/NotificationManager.cs [moved from Tizen.Applications/Tizen.Applications/NotificationManager.cs with 100% similarity]
src/Tizen.Applications.Notification/Tizen.Applications/ProgressNotification.cs [moved from Tizen.Applications/Tizen.Applications/ProgressNotification.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Interop/Interop.Package.cs [moved from Tizen.Applications/Interop/Interop.Package.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Interop/Interop.PackageManager.cs [moved from Tizen.Applications/Interop/Interop.PackageManager.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.csproj [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.nuspec [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.project.json [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.snk [new file with mode: 0755]
src/Tizen.Applications.PackageManager/Tizen.Applications/CertificateType.cs [moved from Tizen.Applications/Tizen.Applications/CertificateType.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/Package.cs [moved from Tizen.Applications/Tizen.Applications/Package.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageCertificate.cs [moved from Tizen.Applications/Tizen.Applications/PackageCertificate.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageEventState.cs [moved from Tizen.Applications/Tizen.Applications/PackageEventState.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageFilter.cs [moved from Tizen.Applications/Tizen.Applications/PackageFilter.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs [moved from Tizen.Applications/Tizen.Applications/PackageManager.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageManagerEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/PackageManagerEventArgs.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageSizeInformation.cs [moved from Tizen.Applications/Tizen.Applications/PackageSizeInformation.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageType.cs [moved from Tizen.Applications/Tizen.Applications/PackageType.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/SafePackageManagerHandle.cs [moved from Tizen.Applications/Tizen.Applications/SafePackageManagerHandle.cs with 100% similarity]
src/Tizen.Applications.PackageManager/Tizen.Applications/StorageType.cs [moved from Tizen.Applications/Tizen.Applications/StorageType.cs with 100% similarity]
src/Tizen.Applications.Preference/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.Preference/Interop/Interop.Preference.cs [moved from Tizen.Applications/Interop/Interop.Preference.cs with 100% similarity]
src/Tizen.Applications.Preference/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.Preference/Tizen.Applications.Preference.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.Preference/Tizen.Applications.Preference.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.Preference/Tizen.Applications.Preference.csproj [new file with mode: 0755]
src/Tizen.Applications.Preference/Tizen.Applications.Preference.nuspec [new file with mode: 0755]
src/Tizen.Applications.Preference/Tizen.Applications.Preference.project.json [new file with mode: 0755]
src/Tizen.Applications.Preference/Tizen.Applications.Preference.snk [new file with mode: 0755]
src/Tizen.Applications.Preference/Tizen.Applications/Preference.cs [moved from Tizen.Applications/Tizen.Applications/Preference.cs with 100% similarity]
src/Tizen.Applications.Preference/Tizen.Applications/PreferenceChangedEventArgs.cs [moved from Tizen.Applications/Tizen.Applications/PreferenceChangedEventArgs.cs with 100% similarity]
src/Tizen.Applications.Service/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.Service/Interop/Interop.Service.cs [moved from Tizen.Applications/Interop/Interop.Service.cs with 90% similarity]
src/Tizen.Applications.Service/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications.Service.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications.Service.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications.Service.csproj [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications.Service.nuspec [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications.Service.project.json [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications.Service.snk [new file with mode: 0755]
src/Tizen.Applications.Service/Tizen.Applications/ServiceApplication.cs [moved from Tizen.Applications/Tizen.Applications/ServiceApplication.cs with 100% similarity]
src/Tizen.Applications.UI/Interop/Interop.Application.cs [moved from Tizen.Applications/Interop/Interop.Application.cs with 91% similarity]
src/Tizen.Applications.UI/Interop/Interop.Libraries.cs [new file with mode: 0755]
src/Tizen.Applications.UI/Properties/AssemblyInfo.cs [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications.CoreBackend/UICoreBackend.cs [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications.UI.Net45.csproj [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications.UI.Net45.project.json [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications.UI.csproj [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications.UI.nuspec [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications.UI.project.json [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications.UI.snk [new file with mode: 0755]
src/Tizen.Applications.UI/Tizen.Applications/CoreUIApplication.cs [moved from Tizen.Applications/Tizen.Applications/CoreUIApplication.cs with 100% similarity]

diff --git a/Tizen.Applications.sln b/Tizen.Applications.sln
new file mode 100755 (executable)
index 0000000..7f297f7
--- /dev/null
@@ -0,0 +1,124 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Common", "Tizen.Applications.Common\Tizen.Applications.Common.csproj", "{663C5A3D-E631-4987-AEE7-F498C56A40FC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.MessagePort", "Tizen.Applications.MessagePort\Tizen.Applications.MessagePort.csproj", "{00522E33-D1F2-4656-8621-5510EC0139FE}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Common.Net45", "Tizen.Applications.Common\Tizen.Applications.Common.Net45.csproj", "{9ACB2B86-BBEA-4FAA-880A-1977AB461C51}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.MessagePort.Net45", "Tizen.Applications.MessagePort\Tizen.Applications.MessagePort.Net45.csproj", "{3B03557D-FCA4-464B-9686-424A96ADC875}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Service.Net45", "Tizen.Applications.Service\Tizen.Applications.Service.Net45.csproj", "{A399ED54-EB41-4773-9A29-772640C093EC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Service", "Tizen.Applications.Service\Tizen.Applications.Service.csproj", "{FF139F0E-DB10-4074-AFA1-229A7CAB54A3}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Alarm", "Tizen.Applications.Alarm\Tizen.Applications.Alarm.csproj", "{28347C57-6413-46C6-9548-75FDA519E07C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Alarm.Net45", "Tizen.Applications.Alarm\Tizen.Applications.Alarm.Net45.csproj", "{98B68263-8F05-486B-A670-3F5DA1352424}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Notification", "Tizen.Applications.Notification\Tizen.Applications.Notification.csproj", "{36C346B4-5ABC-45C7-808B-04178B76FA0D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Notification.Net45", "Tizen.Applications.Notification\Tizen.Applications.Notification.Net45.csproj", "{DCBA342F-12D2-4AB3-8616-210DA585A11A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.PackageManager", "Tizen.Applications.PackageManager\Tizen.Applications.PackageManager.csproj", "{A83A9A54-9985-45BE-95DA-C768A93CF455}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.PackageManager.Net45", "Tizen.Applications.PackageManager\Tizen.Applications.PackageManager.Net45.csproj", "{806338B7-D321-4AB6-8FC0-58A22B289A28}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Preference", "Tizen.Applications.Preference\Tizen.Applications.Preference.csproj", "{4A11B4AF-8C6F-4262-B19F-23EDCBA7521B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Preference.Net45", "Tizen.Applications.Preference\Tizen.Applications.Preference.Net45.csproj", "{E129083E-B2D4-4330-A433-C50F040B001C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.UI", "Tizen.Applications.UI\Tizen.Applications.UI.csproj", "{9AFFA998-5065-487E-BEDB-8B290AD2138F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.UI.Net45", "Tizen.Applications.UI\Tizen.Applications.UI.Net45.csproj", "{9D0FA46A-BF8B-46AF-9DD9-02A72C8997AD}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications.Net45", "Tizen.Applications\Tizen.Applications.Net45.csproj", "{4847B13C-1A03-4347-83CD-EA4B5C9655A4}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.Applications", "Tizen.Applications\Tizen.Applications.csproj", "{6209641F-4B03-4DAD-84D8-4775AD72AD75}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {663C5A3D-E631-4987-AEE7-F498C56A40FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {663C5A3D-E631-4987-AEE7-F498C56A40FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {663C5A3D-E631-4987-AEE7-F498C56A40FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {663C5A3D-E631-4987-AEE7-F498C56A40FC}.Release|Any CPU.Build.0 = Release|Any CPU
+               {00522E33-D1F2-4656-8621-5510EC0139FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {00522E33-D1F2-4656-8621-5510EC0139FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {00522E33-D1F2-4656-8621-5510EC0139FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {00522E33-D1F2-4656-8621-5510EC0139FE}.Release|Any CPU.Build.0 = Release|Any CPU
+               {9ACB2B86-BBEA-4FAA-880A-1977AB461C51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {9ACB2B86-BBEA-4FAA-880A-1977AB461C51}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {9ACB2B86-BBEA-4FAA-880A-1977AB461C51}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {9ACB2B86-BBEA-4FAA-880A-1977AB461C51}.Release|Any CPU.Build.0 = Release|Any CPU
+               {3B03557D-FCA4-464B-9686-424A96ADC875}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {3B03557D-FCA4-464B-9686-424A96ADC875}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {3B03557D-FCA4-464B-9686-424A96ADC875}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {3B03557D-FCA4-464B-9686-424A96ADC875}.Release|Any CPU.Build.0 = Release|Any CPU
+               {A399ED54-EB41-4773-9A29-772640C093EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {A399ED54-EB41-4773-9A29-772640C093EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {A399ED54-EB41-4773-9A29-772640C093EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {A399ED54-EB41-4773-9A29-772640C093EC}.Release|Any CPU.Build.0 = Release|Any CPU
+               {FF139F0E-DB10-4074-AFA1-229A7CAB54A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {FF139F0E-DB10-4074-AFA1-229A7CAB54A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {FF139F0E-DB10-4074-AFA1-229A7CAB54A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {FF139F0E-DB10-4074-AFA1-229A7CAB54A3}.Release|Any CPU.Build.0 = Release|Any CPU
+               {28347C57-6413-46C6-9548-75FDA519E07C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {28347C57-6413-46C6-9548-75FDA519E07C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {28347C57-6413-46C6-9548-75FDA519E07C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {28347C57-6413-46C6-9548-75FDA519E07C}.Release|Any CPU.Build.0 = Release|Any CPU
+               {98B68263-8F05-486B-A670-3F5DA1352424}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {98B68263-8F05-486B-A670-3F5DA1352424}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {98B68263-8F05-486B-A670-3F5DA1352424}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {98B68263-8F05-486B-A670-3F5DA1352424}.Release|Any CPU.Build.0 = Release|Any CPU
+               {36C346B4-5ABC-45C7-808B-04178B76FA0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {36C346B4-5ABC-45C7-808B-04178B76FA0D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {36C346B4-5ABC-45C7-808B-04178B76FA0D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {36C346B4-5ABC-45C7-808B-04178B76FA0D}.Release|Any CPU.Build.0 = Release|Any CPU
+               {DCBA342F-12D2-4AB3-8616-210DA585A11A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {DCBA342F-12D2-4AB3-8616-210DA585A11A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {DCBA342F-12D2-4AB3-8616-210DA585A11A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {DCBA342F-12D2-4AB3-8616-210DA585A11A}.Release|Any CPU.Build.0 = Release|Any CPU
+               {A83A9A54-9985-45BE-95DA-C768A93CF455}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {A83A9A54-9985-45BE-95DA-C768A93CF455}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {A83A9A54-9985-45BE-95DA-C768A93CF455}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {A83A9A54-9985-45BE-95DA-C768A93CF455}.Release|Any CPU.Build.0 = Release|Any CPU
+               {806338B7-D321-4AB6-8FC0-58A22B289A28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {806338B7-D321-4AB6-8FC0-58A22B289A28}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {806338B7-D321-4AB6-8FC0-58A22B289A28}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {806338B7-D321-4AB6-8FC0-58A22B289A28}.Release|Any CPU.Build.0 = Release|Any CPU
+               {4A11B4AF-8C6F-4262-B19F-23EDCBA7521B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {4A11B4AF-8C6F-4262-B19F-23EDCBA7521B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {4A11B4AF-8C6F-4262-B19F-23EDCBA7521B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {4A11B4AF-8C6F-4262-B19F-23EDCBA7521B}.Release|Any CPU.Build.0 = Release|Any CPU
+               {E129083E-B2D4-4330-A433-C50F040B001C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {E129083E-B2D4-4330-A433-C50F040B001C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {E129083E-B2D4-4330-A433-C50F040B001C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {E129083E-B2D4-4330-A433-C50F040B001C}.Release|Any CPU.Build.0 = Release|Any CPU
+               {9AFFA998-5065-487E-BEDB-8B290AD2138F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {9AFFA998-5065-487E-BEDB-8B290AD2138F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {9AFFA998-5065-487E-BEDB-8B290AD2138F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {9AFFA998-5065-487E-BEDB-8B290AD2138F}.Release|Any CPU.Build.0 = Release|Any CPU
+               {9D0FA46A-BF8B-46AF-9DD9-02A72C8997AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {9D0FA46A-BF8B-46AF-9DD9-02A72C8997AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {9D0FA46A-BF8B-46AF-9DD9-02A72C8997AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {9D0FA46A-BF8B-46AF-9DD9-02A72C8997AD}.Release|Any CPU.Build.0 = Release|Any CPU
+               {4847B13C-1A03-4347-83CD-EA4B5C9655A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {4847B13C-1A03-4347-83CD-EA4B5C9655A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {4847B13C-1A03-4347-83CD-EA4B5C9655A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {4847B13C-1A03-4347-83CD-EA4B5C9655A4}.Release|Any CPU.Build.0 = Release|Any CPU
+               {6209641F-4B03-4DAD-84D8-4775AD72AD75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {6209641F-4B03-4DAD-84D8-4775AD72AD75}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {6209641F-4B03-4DAD-84D8-4775AD72AD75}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {6209641F-4B03-4DAD-84D8-4775AD72AD75}.Release|Any CPU.Build.0 = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/Tizen.Applications/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs b/Tizen.Applications/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs
deleted file mode 100755 (executable)
index ba7e99d..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Collections.Generic;
-
-using Tizen.Internals.Errors;
-
-namespace Tizen.Applications.CoreBackend
-{
-    internal abstract class DefaultCoreBackend : ICoreBackend
-    {
-        protected static readonly string LogTag = typeof(DefaultCoreBackend).Namespace;
-
-        protected Dictionary<EventType, object> _handlers = new Dictionary<EventType, object>();
-
-        private bool _disposedValue = false;
-
-        private Interop.AppCommon.AppEventCallback _lowMemoryCallback;
-        private Interop.AppCommon.AppEventCallback _lowBatteryCallback;
-        private Interop.AppCommon.AppEventCallback _localeChangedCallback;
-        private Interop.AppCommon.AppEventCallback _regionChangedCallback;
-
-        private IntPtr _lowMemoryEventHandle = IntPtr.Zero;
-        private IntPtr _lowBatteryEventHandle = IntPtr.Zero;
-        private IntPtr _localeChangedEventHandle = IntPtr.Zero;
-        private IntPtr _regionChangedEventHandle = IntPtr.Zero;
-
-        public DefaultCoreBackend()
-        {
-            _lowMemoryCallback = new Interop.AppCommon.AppEventCallback(OnLowMemoryNative);
-            _lowBatteryCallback = new Interop.AppCommon.AppEventCallback(OnLowBatteryNative);
-            _localeChangedCallback = new Interop.AppCommon.AppEventCallback(OnLocaleChangedNative);
-            _regionChangedCallback = new Interop.AppCommon.AppEventCallback(OnRegionChangedNative);
-        }
-
-        ~DefaultCoreBackend()
-        {
-            Dispose(false);
-        }
-
-        public void AddEventHandler(EventType evType, Action handler)
-        {
-            _handlers.Add(evType, handler);
-        }
-
-        public void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler) where TEventArgs : EventArgs
-        {
-            _handlers.Add(evType, handler);
-        }
-
-        public virtual void Run(string[] args)
-        {
-            TizenSynchronizationContext.Initialize();
-
-            ErrorCode err = ErrorCode.None;
-            err = AddAppEventCallback(out _lowMemoryEventHandle, Interop.AppCommon.AppEventType.LowMemory, _lowMemoryCallback);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to add event handler for LowMemory event. Err = " + err);
-            }
-            err = AddAppEventCallback(out _lowBatteryEventHandle, Interop.AppCommon.AppEventType.LowBattery, _lowBatteryCallback);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to add event handler for LowBattery event. Err = " + err);
-            }
-
-            err = AddAppEventCallback(out _localeChangedEventHandle, Interop.AppCommon.AppEventType.LanguageChanged, _localeChangedCallback);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to add event handler for LocaleChanged event. Err = " + err);
-            }
-
-            err = AddAppEventCallback(out _regionChangedEventHandle, Interop.AppCommon.AppEventType.RegionFormatChanged, _regionChangedCallback);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to add event handler for RegionFormatChanged event. Err = " + err);
-            }
-        }
-
-        public abstract void Exit();
-
-        public void Dispose()
-        {
-            Dispose(true);
-            GC.SuppressFinalize(this);
-        }
-
-        protected virtual void Dispose(bool disposing)
-        {
-            if (!_disposedValue)
-            {
-                if (disposing)
-                {
-                    // Release disposable objects
-                }
-
-                if (_lowMemoryEventHandle != IntPtr.Zero)
-                {
-                    RemoveAppEventCallback(_lowMemoryEventHandle);
-                }
-                if (_lowBatteryEventHandle != IntPtr.Zero)
-                {
-                    RemoveAppEventCallback(_lowBatteryEventHandle);
-                }
-                if (_localeChangedEventHandle != IntPtr.Zero)
-                {
-                    RemoveAppEventCallback(_localeChangedEventHandle);
-                }
-                if (_regionChangedEventHandle != IntPtr.Zero)
-                {
-                    RemoveAppEventCallback(_regionChangedEventHandle);
-                }
-
-                _disposedValue = true;
-            }
-        }
-
-        internal abstract ErrorCode AddAppEventCallback(out IntPtr handle, Interop.AppCommon.AppEventType type, Interop.AppCommon.AppEventCallback callback);
-
-        internal abstract void RemoveAppEventCallback(IntPtr handle);
-
-        private void OnLowMemoryNative(IntPtr infoHandle, IntPtr data)
-        {
-            LowMemoryStatus status = LowMemoryStatus.None;
-            ErrorCode err = Interop.AppCommon.AppEventGetLowMemoryStatus(infoHandle, out status);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to get memory status. Err = " + err);
-            }
-            if (_handlers.ContainsKey(EventType.LowMemory))
-            {
-                var handler = _handlers[EventType.LowMemory] as Action<LowMemoryEventArgs>;
-                handler?.Invoke(new LowMemoryEventArgs(status));
-            }
-        }
-
-        private void OnLowBatteryNative(IntPtr infoHandle, IntPtr data)
-        {
-            LowBatteryStatus status = LowBatteryStatus.None;
-            ErrorCode err = Interop.AppCommon.AppEventGetLowBatteryStatus(infoHandle, out status);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to get battery status. Err = " + err);
-            }
-            if (_handlers.ContainsKey(EventType.LowBattery))
-            {
-                var handler = _handlers[EventType.LowBattery] as Action<LowBatteryEventArgs>;
-                handler?.Invoke(new LowBatteryEventArgs(status));
-            }
-        }
-
-        private void OnLocaleChangedNative(IntPtr infoHandle, IntPtr data)
-        {
-            string lang;
-            ErrorCode err = Interop.AppCommon.AppEventGetLanguage(infoHandle, out lang);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to get changed language. Err = " + err);
-            }
-            if (_handlers.ContainsKey(EventType.LocaleChanged))
-            {
-                var handler = _handlers[EventType.LocaleChanged] as Action<LocaleChangedEventArgs>;
-                handler?.Invoke(new LocaleChangedEventArgs(lang));
-            }
-        }
-
-        private void OnRegionChangedNative(IntPtr infoHandle, IntPtr data)
-        {
-            string region;
-            ErrorCode err = Interop.AppCommon.AppEventGetRegionFormat(infoHandle, out region);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to get changed region format. Err = " + err);
-            }
-            if (_handlers.ContainsKey(EventType.RegionFormatChanged))
-            {
-                var handler = _handlers[EventType.RegionFormatChanged] as Action<RegionFormatChangedEventArgs>;
-                handler?.Invoke(new RegionFormatChangedEventArgs(region));
-            }
-        }
-    }
-}
diff --git a/Tizen.Applications/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs b/Tizen.Applications/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs
deleted file mode 100755 (executable)
index dff91e4..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-
-using Tizen.Internals.Errors;
-
-namespace Tizen.Applications.CoreBackend
-{
-    internal class ServiceCoreBackend : DefaultCoreBackend
-    {
-        private Interop.Service.ServiceAppLifecycleCallbacks _callbacks;
-
-        public ServiceCoreBackend()
-        {
-            _callbacks.OnCreate = new Interop.Service.ServiceAppCreateCallback(OnCreateNative);
-            _callbacks.OnTerminate = new Interop.Service.ServiceAppTerminateCallback(OnTerminateNative);
-            _callbacks.OnAppControl = new Interop.Service.ServiceAppControlCallback(OnAppControlNative);
-        }
-
-        public override void Exit()
-        {
-            Interop.Service.Exit();
-        }
-
-        public override void Run(string[] args)
-        {
-            base.Run(args);
-
-            ErrorCode err = Interop.Service.Main(args.Length, args, ref _callbacks, IntPtr.Zero);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to run the application. Err = " + err);
-            }
-        }
-
-        private bool OnCreateNative(IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.Created))
-            {
-                var handler = _handlers[EventType.Created] as Action;
-                handler?.Invoke();
-            }
-            return true;
-        }
-
-        private void OnTerminateNative(IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.Terminated))
-            {
-                var handler = _handlers[EventType.Terminated] as Action;
-                handler?.Invoke();
-            }
-        }
-
-        private void OnAppControlNative(IntPtr appControlHandle, IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.AppControlReceived))
-            {
-                // Create a SafeAppControlHandle but the ownsHandle is false,
-                // because the appControlHandle will be closed by native appfw after this method automatically.
-                SafeAppControlHandle safeHandle = new SafeAppControlHandle(appControlHandle, false);
-
-                var handler = _handlers[EventType.AppControlReceived] as Action<AppControlReceivedEventArgs>;
-                handler?.Invoke(new AppControlReceivedEventArgs(new ReceivedAppControl(safeHandle)));
-            }
-        }
-
-        internal override ErrorCode AddAppEventCallback(out IntPtr handle, Interop.AppCommon.AppEventType type, Interop.AppCommon.AppEventCallback callback)
-        {
-            return Interop.Service.AddEventHandler(out handle, type, callback, IntPtr.Zero);
-        }
-
-        internal override void RemoveAppEventCallback(IntPtr handle)
-        {
-            Interop.Service.RemoveEventHandler(handle);
-        }
-    }
-}
diff --git a/Tizen.Applications/Tizen.Applications.CoreBackend/UICoreBackend.cs b/Tizen.Applications/Tizen.Applications.CoreBackend/UICoreBackend.cs
deleted file mode 100755 (executable)
index eeceb66..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-
-using Tizen.Internals.Errors;
-
-namespace Tizen.Applications.CoreBackend
-{
-    internal class UICoreBackend : DefaultCoreBackend
-    {
-        private Interop.Application.UIAppLifecycleCallbacks _callbacks;
-
-        public UICoreBackend()
-        {
-            _callbacks.OnCreate = new Interop.Application.AppCreateCallback(OnCreateNative);
-            _callbacks.OnTerminate = new Interop.Application.AppTerminateCallback(OnTerminateNative);
-            _callbacks.OnAppControl = new Interop.Application.AppControlCallback(OnAppControlNative);
-            _callbacks.OnResume = new Interop.Application.AppResumeCallback(OnResumeNative);
-            _callbacks.OnPause = new Interop.Application.AppPauseCallback(OnPauseNative);
-        }
-
-        public override void Exit()
-        {
-            Interop.Application.Exit();
-        }
-
-        public override void Run(string[] args)
-        {
-            base.Run(args);
-
-            ErrorCode err = Interop.Application.Main(args.Length, args, ref _callbacks, IntPtr.Zero);
-            if (err != ErrorCode.None)
-            {
-                Log.Error(LogTag, "Failed to run the application. Err = " + err);
-            }
-        }
-
-        private bool OnCreateNative(IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.PreCreated))
-            {
-                var handler = _handlers[EventType.PreCreated] as Action;
-                handler?.Invoke();
-            }
-
-            if (_handlers.ContainsKey(EventType.Created))
-            {
-                var handler = _handlers[EventType.Created] as Action;
-                handler?.Invoke();
-            }
-            return true;
-        }
-
-        private void OnTerminateNative(IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.Terminated))
-            {
-                var handler = _handlers[EventType.Terminated] as Action;
-                handler?.Invoke();
-            }
-        }
-
-        private void OnAppControlNative(IntPtr appControlHandle, IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.AppControlReceived))
-            {
-                // Create a SafeAppControlHandle but the ownsHandle is false,
-                // because the appControlHandle will be closed by native appfw after this method automatically.
-                SafeAppControlHandle safeHandle = new SafeAppControlHandle(appControlHandle, false);
-
-                var handler = _handlers[EventType.AppControlReceived] as Action<AppControlReceivedEventArgs>;
-                handler?.Invoke(new AppControlReceivedEventArgs(new ReceivedAppControl(safeHandle)));
-            }
-        }
-
-        private void OnResumeNative(IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.Resumed))
-            {
-                var handler = _handlers[EventType.Resumed] as Action;
-                handler?.Invoke();
-            }
-        }
-
-        private void OnPauseNative(IntPtr data)
-        {
-            if (_handlers.ContainsKey(EventType.Paused))
-            {
-                var handler = _handlers[EventType.Paused] as Action;
-                handler?.Invoke();
-            }
-        }
-
-        internal override ErrorCode AddAppEventCallback(out IntPtr handle, Interop.AppCommon.AppEventType type, Interop.AppCommon.AppEventCallback callback)
-        {
-            return Interop.Application.AddEventHandler(out handle, type, callback, IntPtr.Zero);
-        }
-
-        internal override void RemoveAppEventCallback(IntPtr handle)
-        {
-            Interop.Application.RemoveEventHandler(handle);
-        }
-    }
-}
old mode 100644 (file)
new mode 100755 (executable)
index f3af594..38869ab
@@ -3,7 +3,7 @@
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{9ACB2B86-BBEA-4FAA-880A-1977AB461C51}</ProjectGuid>
+    <ProjectGuid>{4847B13C-1A03-4347-83CD-EA4B5C9655A4}</ProjectGuid>
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="Interop\Interop.AppCommon.cs" />
-    <Compile Include="Interop\Interop.AppControl.cs" />
-    <Compile Include="Interop\Interop.Application.cs" />
-    <Compile Include="Interop\Interop.ApplicationManager.cs" />
-    <Compile Include="Interop\Interop.Bundle.cs" />
-    <Compile Include="Interop\Interop.Glib.cs" />
-    <Compile Include="Interop\Interop.Libc.cs" />
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Interop\Interop.MessagePort.cs" />
-    <Compile Include="Interop\Interop.Notification.cs" />
-    <Compile Include="Interop\Interop.Package.cs" />
-    <Compile Include="Interop\Interop.PackageManager.cs" />
-    <Compile Include="Interop\Interop.Preference.cs" />
-    <Compile Include="Interop\Interop.Service.cs" />
-    <Compile Include="Interop\Interop.Alarm.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\EventType.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\DefaultCoreBackend.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\ICoreBackend.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\ServiceCoreBackend.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\UICoreBackend.cs" />
-    <Compile Include="Tizen.Applications\ApplicationInfoMetadataFilter.cs" />
-    <Compile Include="Tizen.Applications.Messages\MessagePort.cs" />
-    <Compile Include="Tizen.Applications.Messages\MessagePortErrorFactory.cs" />
-    <Compile Include="Tizen.Applications.Messages\MessageReceivedEventArgs.cs" />
-    <Compile Include="Tizen.Applications.Messages\RemoteValues.cs" />
-    <Compile Include="Tizen.Applications\AppControlReceivedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\AppControlReplyCallback.cs" />
-    <Compile Include="Tizen.Applications\ApplicationTerminatedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\ApplicationType.cs" />
-    <Compile Include="Tizen.Applications\CertificateType.cs" />
-    <Compile Include="Tizen.Applications\CoreApplication.cs" />
-    <Compile Include="Tizen.Applications\CoreUIApplication.cs" />
-    <Compile Include="Tizen.Applications\DirectoryInfo.cs" />
-    <Compile Include="Tizen.Applications\PackageEventState.cs" />
-    <Compile Include="Tizen.Applications\LocaleChangedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\LowBatteryEventArgs.cs" />
-    <Compile Include="Tizen.Applications\LowBatteryStatus.cs" />
-    <Compile Include="Tizen.Applications\LowMemoryEventArgs.cs" />
-    <Compile Include="Tizen.Applications\LowMemoryStatus.cs" />
-    <Compile Include="Tizen.Applications\Package.cs" />
-    <Compile Include="Tizen.Applications\PackageCertificate.cs" />
-    <Compile Include="Tizen.Applications\PackageFilter.cs" />
-    <Compile Include="Tizen.Applications\PackageManager.cs" />
-    <Compile Include="Tizen.Applications\PackageManagerEventArgs.cs" />
-    <Compile Include="Tizen.Applications\PackageSizeInformation.cs" />
-    <Compile Include="Tizen.Applications\PackageType.cs" />
-    <Compile Include="Tizen.Applications\Preference.cs" />
-    <Compile Include="Tizen.Applications\PreferenceChangedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\ReceivedAppControl.cs" />
-    <Compile Include="Tizen.Applications\RegionFormatChangedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\SafeAppControlHandle.cs" />
-    <Compile Include="Tizen.Applications\SafeBundleHandle.cs" />
-    <Compile Include="Tizen.Applications\SafePackageManagerHandle.cs" />
-    <Compile Include="Tizen.Applications\ServiceApplication.cs" />
-    <Compile Include="Tizen.Applications\StorageType.cs" />
-    <Compile Include="Tizen.Applications\ApplicationLaunchedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\ApplicationManager.cs" />
-    <Compile Include="Tizen.Applications\ApplicationInfoFilter.cs" />
-    <Compile Include="Tizen.Applications\ApplicationInfo.cs" />
-    <Compile Include="Tizen.Applications\AppControl.cs" />
-    <Compile Include="Tizen.Applications\AppControlLaunchMode.cs" />
-    <Compile Include="Tizen.Applications\AppControlReplyResult.cs" />
-    <Compile Include="Tizen.Applications\AppControlOperations.cs" />
-    <Compile Include="Tizen.Applications\Application.cs" />
-    <Compile Include="Tizen.Applications\Bundle.cs" />
-    <Compile Include="Tizen.Applications\EventNotification.cs" />
-    <Compile Include="Tizen.Applications\Notification.cs" />
-    <Compile Include="Tizen.Applications\NotificationEnumerations.cs" />
-    <Compile Include="Tizen.Applications\NotificationErrorFactory.cs" />
-    <Compile Include="Tizen.Applications\NotificationManager.cs" />
-    <Compile Include="Tizen.Applications\ProgressNotification.cs" />
-    <Compile Include="Tizen.Applications\TizenSynchronizationContext.cs" />
-    <Compile Include="Tizen.Applications\Alarm.cs" />
-    <Compile Include="Tizen.Applications\AlarmErrorFactory.cs" />
-    <Compile Include="Tizen.Applications\AlarmManager.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Tizen.Applications/Alarm.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Tizen.Applications/AlarmErrorFactory.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Tizen.Applications/AlarmManager.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControl.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlData.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlLaunchMode.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlOperations.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlReceivedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlReplyCallback.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlReplyResult.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/Application.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationInfo.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationInfoFilter.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationInfoMetadataFilter.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationLaunchedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationManager.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationTerminatedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/Bundle.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/CertificateType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/CoreApplication.cs" />
+    <Compile Include="../Tizen.Applications.UI/Tizen.Applications/CoreUIApplication.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/DirectoryInfo.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/EventNotification.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications.CoreBackend/EventType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications.CoreBackend/ICoreBackend.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Interop/Interop.Alarm.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.AppCommon.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.AppControl.cs" />
+    <Compile Include="../Tizen.Applications.UI/Interop/Interop.Application.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.ApplicationManager.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.Bundle.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.Glib.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.Libc.cs" />
+    <Compile Include="./Interop/Interop.Libraries.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Interop/Interop.MessagePort.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Interop/Interop.Notification.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Interop/Interop.Package.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Interop/Interop.PackageManager.cs" />
+    <Compile Include="../Tizen.Applications.Preference/Interop/Interop.Preference.cs" />
+    <Compile Include="../Tizen.Applications.Service/Interop/Interop.Service.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LocaleChangedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowBatteryEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowBatteryStatus.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowMemoryEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowMemoryStatus.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessagePort.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessagePortErrorFactory.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessageReceivedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/Notification.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/NotificationEnumerations.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/NotificationErrorFactory.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/NotificationManager.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/Package.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageCertificate.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageEventState.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageFilter.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageManagerEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageSizeInformation.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageType.cs" />
+    <Compile Include="../Tizen.Applications.Preference/Tizen.Applications/Preference.cs" />
+    <Compile Include="../Tizen.Applications.Preference/Tizen.Applications/PreferenceChangedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/ProgressNotification.cs" />
+    <Compile Include="./Properties\AssemblyInfo.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ReceivedAppControl.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/RegionFormatChangedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/RemoteValues.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/SafeAppControlHandle.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/SafeBundleHandle.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/SafePackageManagerHandle.cs" />
+    <Compile Include="../Tizen.Applications.Service/Tizen.Applications/ServiceApplication.cs" />
+    <Compile Include="../Tizen.Applications.Service/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/StorageType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/TizenSynchronizationContext.cs" />
+    <Compile Include="../Tizen.Applications.UI/Tizen.Applications.CoreBackend/UICoreBackend.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="Tizen.Applications.Net45.project.json" />
index d657c80..602103a 100644 (file)
@@ -3,7 +3,7 @@
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{663C5A3D-E631-4987-AEE7-F498C56A40FC}</ProjectGuid>
+    <ProjectGuid>{6209641F-4B03-4DAD-84D8-4775AD72AD75}</ProjectGuid>
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>
     <AssemblyOriginatorKeyFile>Tizen.Applications.snk</AssemblyOriginatorKeyFile>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Interop\Interop.AppCommon.cs" />
-    <Compile Include="Interop\Interop.AppControl.cs" />
-    <Compile Include="Interop\Interop.Application.cs" />
-    <Compile Include="Interop\Interop.ApplicationManager.cs" />
-    <Compile Include="Interop\Interop.Bundle.cs" />
-    <Compile Include="Interop\Interop.Glib.cs" />
-    <Compile Include="Interop\Interop.Libc.cs" />
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Interop\Interop.MessagePort.cs" />
-    <Compile Include="Interop\Interop.Notification.cs" />
-    <Compile Include="Interop\Interop.Package.cs" />
-    <Compile Include="Interop\Interop.PackageManager.cs" />
-    <Compile Include="Interop\Interop.Preference.cs" />
-    <Compile Include="Interop\Interop.Service.cs" />
-    <Compile Include="Interop\Interop.Alarm.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\EventType.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\DefaultCoreBackend.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\ICoreBackend.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\ServiceCoreBackend.cs" />
-    <Compile Include="Tizen.Applications.CoreBackend\UICoreBackend.cs" />
-    <Compile Include="Tizen.Applications\ApplicationInfoMetadataFilter.cs" />
-    <Compile Include="Tizen.Applications.Messages\MessagePort.cs" />
-    <Compile Include="Tizen.Applications.Messages\MessagePortErrorFactory.cs" />
-    <Compile Include="Tizen.Applications.Messages\MessageReceivedEventArgs.cs" />
-    <Compile Include="Tizen.Applications.Messages\RemoteValues.cs" />
-    <Compile Include="Tizen.Applications\AppControlReceivedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\AppControlReplyCallback.cs" />
-    <Compile Include="Tizen.Applications\ApplicationTerminatedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\ApplicationType.cs" />
-    <Compile Include="Tizen.Applications\CertificateType.cs" />
-    <Compile Include="Tizen.Applications\CoreApplication.cs" />
-    <Compile Include="Tizen.Applications\CoreUIApplication.cs" />
-    <Compile Include="Tizen.Applications\DirectoryInfo.cs" />
-    <Compile Include="Tizen.Applications\PackageEventState.cs" />
-    <Compile Include="Tizen.Applications\LocaleChangedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\LowBatteryEventArgs.cs" />
-    <Compile Include="Tizen.Applications\LowBatteryStatus.cs" />
-    <Compile Include="Tizen.Applications\LowMemoryEventArgs.cs" />
-    <Compile Include="Tizen.Applications\LowMemoryStatus.cs" />
-    <Compile Include="Tizen.Applications\Package.cs" />
-    <Compile Include="Tizen.Applications\PackageCertificate.cs" />
-    <Compile Include="Tizen.Applications\PackageFilter.cs" />
-    <Compile Include="Tizen.Applications\PackageManager.cs" />
-    <Compile Include="Tizen.Applications\PackageManagerEventArgs.cs" />
-    <Compile Include="Tizen.Applications\PackageSizeInformation.cs" />
-    <Compile Include="Tizen.Applications\PackageType.cs" />
-    <Compile Include="Tizen.Applications\PreferenceChangedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\Preference.cs" />
-    <Compile Include="Tizen.Applications\ReceivedAppControl.cs" />
-    <Compile Include="Tizen.Applications\RegionFormatChangedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\SafeAppControlHandle.cs" />
-    <Compile Include="Tizen.Applications\SafeBundleHandle.cs" />
-    <Compile Include="Tizen.Applications\SafePackageManagerHandle.cs" />
-    <Compile Include="Tizen.Applications\ServiceApplication.cs" />
-    <Compile Include="Tizen.Applications\StorageType.cs" />
-    <Compile Include="Tizen.Applications\ApplicationLaunchedEventArgs.cs" />
-    <Compile Include="Tizen.Applications\ApplicationManager.cs" />
-    <Compile Include="Tizen.Applications\ApplicationInfoFilter.cs" />
-    <Compile Include="Tizen.Applications\ApplicationInfo.cs" />
-    <Compile Include="Tizen.Applications\AppControl.cs" />
-    <Compile Include="Tizen.Applications\AppControlLaunchMode.cs" />
-    <Compile Include="Tizen.Applications\AppControlReplyResult.cs" />
-    <Compile Include="Tizen.Applications\AppControlOperations.cs" />
-    <Compile Include="Tizen.Applications\Application.cs" />
-    <Compile Include="Tizen.Applications\Bundle.cs" />
-    <Compile Include="Tizen.Applications\EventNotification.cs" />
-    <Compile Include="Tizen.Applications\Notification.cs" />
-    <Compile Include="Tizen.Applications\NotificationEnumerations.cs" />
-    <Compile Include="Tizen.Applications\NotificationErrorFactory.cs" />
-    <Compile Include="Tizen.Applications\NotificationManager.cs" />
-    <Compile Include="Tizen.Applications\ProgressNotification.cs" />
-    <Compile Include="Tizen.Applications\TizenSynchronizationContext.cs" />
-    <Compile Include="Tizen.Applications\Alarm.cs" />
-    <Compile Include="Tizen.Applications\AlarmErrorFactory.cs" />
-    <Compile Include="Tizen.Applications\AlarmManager.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Tizen.Applications/Alarm.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Tizen.Applications/AlarmErrorFactory.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Tizen.Applications/AlarmManager.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControl.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlData.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlLaunchMode.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlOperations.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlReceivedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlReplyCallback.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/AppControlReplyResult.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/Application.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationInfo.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationInfoFilter.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationInfoMetadataFilter.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationLaunchedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationManager.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationTerminatedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ApplicationType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/Bundle.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/CertificateType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/CoreApplication.cs" />
+    <Compile Include="../Tizen.Applications.UI/Tizen.Applications/CoreUIApplication.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/DirectoryInfo.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/EventNotification.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications.CoreBackend/EventType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications.CoreBackend/ICoreBackend.cs" />
+    <Compile Include="../Tizen.Applications.Alarm/Interop/Interop.Alarm.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.AppCommon.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.AppControl.cs" />
+    <Compile Include="../Tizen.Applications.UI/Interop/Interop.Application.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.ApplicationManager.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.Bundle.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.Glib.cs" />
+    <Compile Include="../Tizen.Applications.Common/Interop/Interop.Libc.cs" />
+    <Compile Include="./Interop/Interop.Libraries.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Interop/Interop.MessagePort.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Interop/Interop.Notification.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Interop/Interop.Package.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Interop/Interop.PackageManager.cs" />
+    <Compile Include="../Tizen.Applications.Preference/Interop/Interop.Preference.cs" />
+    <Compile Include="../Tizen.Applications.Service/Interop/Interop.Service.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LocaleChangedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowBatteryEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowBatteryStatus.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowMemoryEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/LowMemoryStatus.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessagePort.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessagePortErrorFactory.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessageReceivedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/Notification.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/NotificationEnumerations.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/NotificationErrorFactory.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/NotificationManager.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/Package.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageCertificate.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageEventState.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageFilter.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageManagerEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageSizeInformation.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/PackageType.cs" />
+    <Compile Include="../Tizen.Applications.Preference/Tizen.Applications/Preference.cs" />
+    <Compile Include="../Tizen.Applications.Preference/Tizen.Applications/PreferenceChangedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.Notification/Tizen.Applications/ProgressNotification.cs" />
+    <Compile Include="./Properties\AssemblyInfo.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/ReceivedAppControl.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/RegionFormatChangedEventArgs.cs" />
+    <Compile Include="../Tizen.Applications.MessagePort/Tizen.Applications.Messages/RemoteValues.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/SafeAppControlHandle.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/SafeBundleHandle.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/SafePackageManagerHandle.cs" />
+    <Compile Include="../Tizen.Applications.Service/Tizen.Applications/ServiceApplication.cs" />
+    <Compile Include="../Tizen.Applications.Service/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs" />
+    <Compile Include="../Tizen.Applications.PackageManager/Tizen.Applications/StorageType.cs" />
+    <Compile Include="../Tizen.Applications.Common/Tizen.Applications/TizenSynchronizationContext.cs" />
+    <Compile Include="../Tizen.Applications.UI/Tizen.Applications.CoreBackend/UICoreBackend.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="Tizen.Applications.project.json" />
index 71380b6..ea429e1 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       csapi-application
 Summary:    Tizen Application API for C#
-Version:    1.1.0
+Version:    1.2.0
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
@@ -16,20 +16,155 @@ BuildRequires: dotnet-build-tools
 # C# API Requires
 BuildRequires: csapi-tizen-nuget
 
-%define Assemblies Tizen.Applications
+%define Assemblies Tizen.Applications.Common Tizen.Applications.MessagePort Tizen.Applications.Service Tizen.Applications.PackageManager Tizen.Applications.Notification Tizen.Applications.Preference Tizen.Applications.Alarm Tizen.Applications.UI Tizen.Applications
 
 %description
 %{summary}
 
 %dotnet_import_sub_packages
 
+%package -n csapi-application-common
+Summary:  An Application Common library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-common
+An Application Common library in Tizen C# API package.
+
+%package -n csapi-application-common-nuget
+Summary:  An Application Common library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-common-nuget
+An Application Common library in Tizen C# API package.
+
+%package -n csapi-application-message-port
+Summary:  An Application IPC library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-message-port
+An Application IPC library in Tizen C# API package.
+
+%package -n csapi-application-message-port-nuget
+Summary:  An Application IPC library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-message-port-nuget
+An Application IPC library in Tizen C# API package.
+
+%package -n csapi-application-package-manager
+Summary:  A package library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-package-manager
+A package library in Tizen C# API package.
+
+%package -n csapi-application-package-manager-nuget
+Summary:  A package library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-package-manager-nuget
+A package library in Tizen C# API package.
+
+%package -n csapi-application-notification
+Summary:  A notification library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-notification
+A notification library in Tizen C# API package.
+
+%package -n csapi-application-notification-nuget
+Summary:  A notification library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-notification-nuget
+A notification library in Tizen C# API package.
+
+%package -n csapi-application-preference
+Summary:  A preference library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-preference
+A preference library in Tizen C# API package.
+
+%package -n csapi-application-preference-nuget
+Summary:  A preference library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-preference-nuget
+A preference library in Tizen C# API package.
+
+%package -n csapi-application-alarm
+Summary:  An alarm library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-alarm
+An alarm library in Tizen C# API package.
+
+%package -n csapi-application-alarm-nuget
+Summary:  An alarm library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-alarm-nuget
+An alarm library in Tizen C# API package.
+
+%package -n csapi-application-service
+Summary:  A service application library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-service
+A service application library in Tizen C# API package.
+
+%package -n csapi-application-service-nuget
+Summary:  A service application library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-service-nuget
+A service application library in Tizen C# API package.
+
+%package -n csapi-application-ui
+Summary:  An ui application library in Tizen C# API
+Group:  Development/Libraries
+AutoReqProv: no
+ExcludeArch: aarch64
+
+%description -n csapi-application-ui
+An ui application library in Tizen C# API package.
+
+%package -n csapi-application-ui-nuget
+Summary:  An ui application library in Tizen C# API
+Group:  Development/Libraries
+
+%description -n csapi-application-ui-nuget
+An ui application library in Tizen C# API package.
+
 %prep
 %setup -q
 cp %{SOURCE1} .
 
 %build
+SOURCES="/nuget;$(readlink -f .nuget)"
+
+for ASM in %{Assemblies}; do
+%dotnet_restore $ASM "-Source $SOURCES"
+done
+
+%dotnet_build Tizen.Applications.sln
+
 for ASM in %{Assemblies}; do
-%dotnet_build $ASM
 %dotnet_pack $ASM/$ASM.nuspec %{version}
 done
 
@@ -38,7 +173,73 @@ for ASM in %{Assemblies}; do
 %dotnet_install $ASM
 done
 
+%files -n csapi-application-common
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.Common.dll
+
+%files -n csapi-application-common-nuget
+/nuget/Tizen.Applications.Common*.nupkg
+
+%files -n csapi-application-message-port
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.MessagePort.dll
+
+%files -n csapi-application-message-port-nuget
+/nuget/Tizen.Applications.MessagePort*.nupkg
+
+%files -n csapi-application-package-manager
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.PackageManager.dll
+
+%files -n csapi-application-package-manager-nuget
+/nuget/Tizen.Applications.PackageManager*.nupkg
+
+%files -n csapi-application-notification
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.Notification.dll
+
+%files -n csapi-application-notification-nuget
+/nuget/Tizen.Applications.Notification*.nupkg
+
+%files -n csapi-application-preference
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.Preference.dll
+
+%files -n csapi-application-preference-nuget
+/nuget/Tizen.Applications.Preference*.nupkg
+
+%files -n csapi-application-alarm
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.Alarm.dll
+
+%files -n csapi-application-alarm-nuget
+/nuget/Tizen.Applications.Alarm*.nupkg
+
+%files -n csapi-application-service
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.Service.dll
+
+%files -n csapi-application-service-nuget
+/nuget/Tizen.Applications.Service*.nupkg
+
+%files -n csapi-application-ui
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.UI.dll
+
+%files -n csapi-application-ui-nuget
+/nuget/Tizen.Applications.UI*.nupkg
+
 %files
 %manifest %{name}.manifest
 %license LICENSE
-%attr(644,root,root) %{dotnet_assembly_files}
+%attr(644,root,root) %{_dotnet_assembly_path}/Tizen.Applications.dll
+
+
diff --git a/src/Tizen.Applications.Alarm/Interop/Interop.Libraries.cs b/src/Tizen.Applications.Alarm/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..63f4a29
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string Alarm = "libcapi-appfw-alarm.so.0";
+    }
+}
diff --git a/src/Tizen.Applications.Alarm/Properties/AssemblyInfo.cs b/src/Tizen.Applications.Alarm/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..74ea7b0
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.Alarm")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.Net45.csproj b/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.Net45.csproj
new file mode 100755 (executable)
index 0000000..da1a56a
--- /dev/null
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{98B68263-8F05-486B-A670-3F5DA1352424}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Alarm</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Alarm.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Alarm.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\Alarm.cs" />
+    <Compile Include="Tizen.Applications\AlarmErrorFactory.cs" />
+    <Compile Include="Tizen.Applications\AlarmManager.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Alarm.Net45.project.json" />
+    <None Include="Tizen.Applications.Alarm.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.Net45.csproj">
+      <Project>{9acb2b86-bbea-4faa-880a-1977ab461c51}</Project>
+      <Name>Tizen.Applications.Common.Net45</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.Net45.project.json b/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.csproj b/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.csproj
new file mode 100755 (executable)
index 0000000..5bcb6f8
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{28347C57-6413-46C6-9548-75FDA519E07C}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Alarm</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Alarm.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Alarm.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\Alarm.cs" />
+    <Compile Include="Tizen.Applications\AlarmErrorFactory.cs" />
+    <Compile Include="Tizen.Applications\AlarmManager.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Alarm.project.json" />
+    <None Include="Tizen.Applications.Alarm.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj">
+      <Project>{663c5a3d-e631-4987-aee7-f498c56a40fc}</Project>
+      <Name>Tizen.Applications.Common</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.nuspec b/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.nuspec
new file mode 100755 (executable)
index 0000000..f219805
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.Alarm</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen.Applications.Common" version="1.2.0" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.Alarm.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.Alarm.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.project.json b/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.project.json
new file mode 100755 (executable)
index 0000000..55ec093
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
diff --git a/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.snk b/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.Alarm/Tizen.Applications.Alarm.snk differ
@@ -24,18 +24,6 @@ internal static partial class Interop
 {
     internal static partial class AppCommon
     {
-        internal enum AppEventType
-        {
-            LowMemory = 0,
-            LowBattery,
-            LanguageChanged,
-            DeviceOrientationChanged,
-            RegionFormatChanged,
-            SuspendedStateChanged
-        }
-
-        internal delegate void AppEventCallback(IntPtr handle, IntPtr data);
-
         [DllImport(Libraries.AppCommon, EntryPoint = "app_get_id")]
         internal static extern ErrorCode AppGetId(out string appId);
 
@@ -126,13 +126,13 @@ internal static partial class Interop
         [DllImport(Libraries.AppControl, EntryPoint = "app_control_send_launch_request")]
         internal static extern ErrorCode SendLaunchRequest(SafeAppControlHandle handle, ReplyCallback callback, IntPtr userData);
 
-        [DllImport(Libraries.Application, EntryPoint = "app_control_send_terminate_request")]
+        [DllImport(Libraries.AppControl, EntryPoint = "app_control_send_terminate_request")]
         internal static extern ErrorCode SendTerminateRequest(SafeAppControlHandle handle);
 
-        [DllImport(Libraries.Application, EntryPoint = "app_control_reply_to_launch_request")]
+        [DllImport(Libraries.AppControl, EntryPoint = "app_control_reply_to_launch_request")]
         internal static extern ErrorCode ReplyToLaunchRequest(SafeAppControlHandle reply, SafeAppControlHandle request, int result);
 
-        [DllImport(Libraries.Application, EntryPoint = "app_control_enable_app_started_result_event")]
+        [DllImport(Libraries.AppControl, EntryPoint = "app_control_enable_app_started_result_event")]
         internal static extern ErrorCode EnableAppStartedResultEvent(SafeAppControlHandle handle);
     }
 }
diff --git a/src/Tizen.Applications.Common/Interop/Interop.Libraries.cs b/src/Tizen.Applications.Common/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..5caecca
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string AppCommon = "libcapi-appfw-app-common.so.0";
+        public const string AppControl = "libcapi-appfw-app-control.so.0";
+        public const string AppEvent = "libcapi-appfw-event.so.0";
+        public const string AppManager = "libcapi-appfw-app-manager.so.0";
+        public const string Bundle = "libbundle.so.0";
+        public const string Glib = "libglib-2.0.so.0";
+        public const string Libc = "libc.so.6";
+    }
+}
diff --git a/src/Tizen.Applications.Common/Properties/AssemblyInfo.cs b/src/Tizen.Applications.Common/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..a477ab8
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.Common")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.Common/Tizen.Applications.Common.Net45.csproj b/src/Tizen.Applications.Common/Tizen.Applications.Common.Net45.csproj
new file mode 100755 (executable)
index 0000000..07dcf9a
--- /dev/null
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{9ACB2B86-BBEA-4FAA-880A-1977AB461C51}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Common</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Common.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.AppCommon.cs" />
+    <Compile Include="Interop\Interop.AppControl.cs" />
+    <Compile Include="Interop\Interop.Bundle.cs" />
+    <Compile Include="Interop\Interop.Glib.cs" />
+    <Compile Include="Interop\Interop.Libc.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.ApplicationManager.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\EventType.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\DefaultCoreBackend.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\ICoreBackend.cs" />
+    <Compile Include="Tizen.Applications\ApplicationInfo.cs" />
+    <Compile Include="Tizen.Applications\ApplicationManager.cs" />
+    <Compile Include="Tizen.Applications\ApplicationInfoFilter.cs" />
+    <Compile Include="Tizen.Applications\ApplicationInfoMetadataFilter.cs" />
+    <Compile Include="Tizen.Applications\ApplicationTerminatedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\Application.cs" />
+    <Compile Include="Tizen.Applications\AppControlReceivedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\AppControlReplyCallback.cs" />
+    <Compile Include="Tizen.Applications\ApplicationType.cs" />
+    <Compile Include="Tizen.Applications\CoreApplication.cs" />
+    <Compile Include="Tizen.Applications\DirectoryInfo.cs" />
+    <Compile Include="Tizen.Applications\LocaleChangedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\LowBatteryEventArgs.cs" />
+    <Compile Include="Tizen.Applications\LowBatteryStatus.cs" />
+    <Compile Include="Tizen.Applications\LowMemoryEventArgs.cs" />
+    <Compile Include="Tizen.Applications\LowMemoryStatus.cs" />
+    <Compile Include="Tizen.Applications\ReceivedAppControl.cs" />
+    <Compile Include="Tizen.Applications\RegionFormatChangedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\SafeAppControlHandle.cs" />
+    <Compile Include="Tizen.Applications\SafeBundleHandle.cs" />
+    <Compile Include="Tizen.Applications\ApplicationLaunchedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\AppControl.cs" />
+    <Compile Include="Tizen.Applications\AppControlLaunchMode.cs" />
+    <Compile Include="Tizen.Applications\AppControlReplyResult.cs" />
+    <Compile Include="Tizen.Applications\AppControlOperations.cs" />
+    <Compile Include="Tizen.Applications\Bundle.cs" />
+    <Compile Include="Tizen.Applications\TizenSynchronizationContext.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Common.Net45.project.json" />
+    <None Include="Tizen.Applications.Common.snk" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
diff --git a/src/Tizen.Applications.Common/Tizen.Applications.Common.Net45.project.json b/src/Tizen.Applications.Common/Tizen.Applications.Common.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.Common/Tizen.Applications.Common.csproj b/src/Tizen.Applications.Common/Tizen.Applications.Common.csproj
new file mode 100755 (executable)
index 0000000..4abce7f
--- /dev/null
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{663C5A3D-E631-4987-AEE7-F498C56A40FC}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Common</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Common.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.AppCommon.cs" />
+    <Compile Include="Interop\Interop.AppControl.cs" />
+    <Compile Include="Interop\Interop.Bundle.cs" />
+    <Compile Include="Interop\Interop.Glib.cs" />
+    <Compile Include="Interop\Interop.Libc.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.ApplicationManager.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\EventType.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\DefaultCoreBackend.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\ICoreBackend.cs" />
+    <Compile Include="Tizen.Applications\ApplicationInfo.cs" />
+    <Compile Include="Tizen.Applications\ApplicationManager.cs" />
+    <Compile Include="Tizen.Applications\ApplicationInfoFilter.cs" />
+    <Compile Include="Tizen.Applications\ApplicationInfoMetadataFilter.cs" />
+    <Compile Include="Tizen.Applications\ApplicationTerminatedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\Application.cs" />
+    <Compile Include="Tizen.Applications\AppControlReceivedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\AppControlReplyCallback.cs" />
+    <Compile Include="Tizen.Applications\ApplicationType.cs" />
+    <Compile Include="Tizen.Applications\CoreApplication.cs" />
+    <Compile Include="Tizen.Applications\DirectoryInfo.cs" />
+    <Compile Include="Tizen.Applications\LocaleChangedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\LowBatteryEventArgs.cs" />
+    <Compile Include="Tizen.Applications\LowBatteryStatus.cs" />
+    <Compile Include="Tizen.Applications\LowMemoryEventArgs.cs" />
+    <Compile Include="Tizen.Applications\LowMemoryStatus.cs" />
+    <Compile Include="Tizen.Applications\ReceivedAppControl.cs" />
+    <Compile Include="Tizen.Applications\RegionFormatChangedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\SafeAppControlHandle.cs" />
+    <Compile Include="Tizen.Applications\SafeBundleHandle.cs" />
+    <Compile Include="Tizen.Applications\ApplicationLaunchedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\AppControl.cs" />
+    <Compile Include="Tizen.Applications\AppControlLaunchMode.cs" />
+    <Compile Include="Tizen.Applications\AppControlReplyResult.cs" />
+    <Compile Include="Tizen.Applications\AppControlOperations.cs" />
+    <Compile Include="Tizen.Applications\Bundle.cs" />
+    <Compile Include="Tizen.Applications\TizenSynchronizationContext.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Common.project.json" />
+    <None Include="Tizen.Applications.Common.snk" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
diff --git a/src/Tizen.Applications.Common/Tizen.Applications.Common.nuspec b/src/Tizen.Applications.Common/Tizen.Applications.Common.nuspec
new file mode 100755 (executable)
index 0000000..4c0ec00
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.Common</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.Common.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.Common.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.Common/Tizen.Applications.Common.project.json b/src/Tizen.Applications.Common/Tizen.Applications.Common.project.json
new file mode 100755 (executable)
index 0000000..55ec093
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
diff --git a/src/Tizen.Applications.Common/Tizen.Applications.Common.snk b/src/Tizen.Applications.Common/Tizen.Applications.Common.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.Common/Tizen.Applications.Common.snk differ
diff --git a/src/Tizen.Applications.Common/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs b/src/Tizen.Applications.Common/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs
new file mode 100755 (executable)
index 0000000..32918a1
--- /dev/null
@@ -0,0 +1,140 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+using System;
+using System.Collections.Generic;
+
+using Tizen.Internals.Errors;
+
+namespace Tizen.Applications.CoreBackend
+{
+    /// <summary>
+    /// Abstract class to provide default event handlers for apps.
+    /// </summary>
+    public abstract class DefaultCoreBackend : ICoreBackend
+    {
+        /// <summary>
+        /// Low level event types
+        /// </summary>
+        public enum AppEventType
+        {
+            LowMemory = 0,
+            LowBattery,
+            LanguageChanged,
+            DeviceOrientationChanged,
+            RegionFormatChanged,
+            SuspendedStateChanged
+        }
+
+        protected static readonly string LogTag = typeof(DefaultCoreBackend).Namespace;
+
+        protected IDictionary<EventType, object> Handlers = new Dictionary<EventType, object>();
+
+        public DefaultCoreBackend()
+        {
+        }
+
+        ~DefaultCoreBackend()
+        {
+            Dispose(false);
+        }
+
+        public void AddEventHandler(EventType evType, Action handler)
+        {
+            Handlers.Add(evType, handler);
+        }
+
+        public void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler) where TEventArgs : EventArgs
+        {
+            Handlers.Add(evType, handler);
+        }
+
+        public virtual void Run(string[] args)
+        {
+            TizenSynchronizationContext.Initialize();
+        }
+
+        public abstract void Exit();
+
+        public void Dispose()
+        {
+            Dispose(true);
+            GC.SuppressFinalize(this);
+        }
+
+        protected abstract void Dispose(bool disposing);
+
+        protected virtual void OnLowMemoryNative(IntPtr infoHandle, IntPtr data)
+        {
+            LowMemoryStatus status = LowMemoryStatus.None;
+            ErrorCode err = Interop.AppCommon.AppEventGetLowMemoryStatus(infoHandle, out status);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to get memory status. Err = " + err);
+            }
+            if (Handlers.ContainsKey(EventType.LowMemory))
+            {
+                var handler = Handlers[EventType.LowMemory] as Action<LowMemoryEventArgs>;
+                handler?.Invoke(new LowMemoryEventArgs(status));
+            }
+        }
+
+        protected virtual void OnLowBatteryNative(IntPtr infoHandle, IntPtr data)
+        {
+            LowBatteryStatus status = LowBatteryStatus.None;
+            ErrorCode err = Interop.AppCommon.AppEventGetLowBatteryStatus(infoHandle, out status);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to get battery status. Err = " + err);
+            }
+            if (Handlers.ContainsKey(EventType.LowBattery))
+            {
+                var handler = Handlers[EventType.LowBattery] as Action<LowBatteryEventArgs>;
+                handler?.Invoke(new LowBatteryEventArgs(status));
+            }
+        }
+
+        protected virtual void OnLocaleChangedNative(IntPtr infoHandle, IntPtr data)
+        {
+            string lang;
+            ErrorCode err = Interop.AppCommon.AppEventGetLanguage(infoHandle, out lang);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to get changed language. Err = " + err);
+            }
+            if (Handlers.ContainsKey(EventType.LocaleChanged))
+            {
+                var handler = Handlers[EventType.LocaleChanged] as Action<LocaleChangedEventArgs>;
+                handler?.Invoke(new LocaleChangedEventArgs(lang));
+            }
+        }
+
+        protected virtual void OnRegionChangedNative(IntPtr infoHandle, IntPtr data)
+        {
+            string region;
+            ErrorCode err = Interop.AppCommon.AppEventGetRegionFormat(infoHandle, out region);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to get changed region format. Err = " + err);
+            }
+            if (Handlers.ContainsKey(EventType.RegionFormatChanged))
+            {
+                var handler = Handlers[EventType.RegionFormatChanged] as Action<RegionFormatChangedEventArgs>;
+                handler?.Invoke(new RegionFormatChangedEventArgs(region));
+            }
+        }
+    }
+}
@@ -24,14 +24,14 @@ namespace Tizen.Applications
         /// <summary>
         /// All applications.
         /// </summary>
-        All = Interop.Package.AppType.All,
+        All = 0,
         /// <summary>
         /// UI applications.
         /// </summary>
-        Ui = Interop.Package.AppType.Ui,
+        Ui = 1,
         /// <summary>
         /// Service applications.
         /// </summary>
-        Service = Interop.Package.AppType.Service
+        Service = 2
     }
-}
\ No newline at end of file
+}
diff --git a/src/Tizen.Applications.MessagePort/Interop/Interop.Libraries.cs b/src/Tizen.Applications.MessagePort/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..2b7e4da
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string MessagePort = "libmessage-port.so.1";
+    }
+}
diff --git a/src/Tizen.Applications.MessagePort/Properties/AssemblyInfo.cs b/src/Tizen.Applications.MessagePort/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..d654e25
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.MessagePort")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.Net45.csproj b/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.Net45.csproj
new file mode 100755 (executable)
index 0000000..84e925c
--- /dev/null
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{3B03557D-FCA4-464B-9686-424A96ADC875}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.MessagePort</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.MessagePort.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.MessagePort.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Tizen.Applications.Messages\MessagePort.cs" />
+    <Compile Include="Tizen.Applications.Messages\MessagePortErrorFactory.cs" />
+    <Compile Include="Tizen.Applications.Messages\MessageReceivedEventArgs.cs" />
+    <Compile Include="Tizen.Applications.Messages\RemoteValues.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.MessagePort.Net45.project.json" />
+    <None Include="Tizen.Applications.MessagePort.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.Net45.csproj">
+      <Project>{9acb2b86-bbea-4faa-880a-1977ab461c51}</Project>
+      <Name>Tizen.Applications.Common.Net45</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.Net45.project.json b/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.csproj b/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.csproj
new file mode 100755 (executable)
index 0000000..6658788
--- /dev/null
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{00522E33-D1F2-4656-8621-5510EC0139FE}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.MessagePort</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.MessagePort.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.MessagePort.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications.Messages\MessagePort.cs" />
+    <Compile Include="Tizen.Applications.Messages\MessagePortErrorFactory.cs" />
+    <Compile Include="Tizen.Applications.Messages\MessageReceivedEventArgs.cs" />
+    <Compile Include="Tizen.Applications.Messages\RemoteValues.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.MessagePort.project.json" />
+    <None Include="Tizen.Applications.MessagePort.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj">
+      <Project>{663c5a3d-e631-4987-aee7-f498c56a40fc}</Project>
+      <Name>Tizen.Applications.Common</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.nuspec b/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.nuspec
new file mode 100755 (executable)
index 0000000..a7deb34
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.MessagePort</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen.Applications.Common" version="1.2.0" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.MessagePort.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.MessagePort.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.project.json b/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.project.json
new file mode 100755 (executable)
index 0000000..2f40bac
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
\ No newline at end of file
diff --git a/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.snk b/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.MessagePort/Tizen.Applications.MessagePort.snk differ
diff --git a/src/Tizen.Applications.Notification/Interop/Interop.Libraries.cs b/src/Tizen.Applications.Notification/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..f841a1f
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string Notification = "libnotification.so.0";
+    }
+}
diff --git a/src/Tizen.Applications.Notification/Properties/AssemblyInfo.cs b/src/Tizen.Applications.Notification/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..8cc714d
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.Notification")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notification.Net45.csproj b/src/Tizen.Applications.Notification/Tizen.Applications.Notification.Net45.csproj
new file mode 100755 (executable)
index 0000000..9830506
--- /dev/null
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{DCBA342F-12D2-4AB3-8616-210DA585A11A}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Notification</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Notification.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Notification.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\EventNotification.cs" />
+    <Compile Include="Tizen.Applications\Notification.cs" />
+    <Compile Include="Tizen.Applications\NotificationEnumerations.cs" />
+    <Compile Include="Tizen.Applications\NotificationErrorFactory.cs" />
+    <Compile Include="Tizen.Applications\NotificationManager.cs" />
+    <Compile Include="Tizen.Applications\ProgressNotification.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Notification.Net45.project.json" />
+    <None Include="Tizen.Applications.Notification.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.Net45.csproj">
+      <Project>{9acb2b86-bbea-4faa-880a-1977ab461c51}</Project>
+      <Name>Tizen.Applications.Common.Net45</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notification.Net45.project.json b/src/Tizen.Applications.Notification/Tizen.Applications.Notification.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notification.csproj b/src/Tizen.Applications.Notification/Tizen.Applications.Notification.csproj
new file mode 100755 (executable)
index 0000000..3dece70
--- /dev/null
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{36C346B4-5ABC-45C7-808B-04178B76FA0D}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Notification</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Notification.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Notification.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\EventNotification.cs" />
+    <Compile Include="Tizen.Applications\Notification.cs" />
+    <Compile Include="Tizen.Applications\NotificationEnumerations.cs" />
+    <Compile Include="Tizen.Applications\NotificationErrorFactory.cs" />
+    <Compile Include="Tizen.Applications\NotificationManager.cs" />
+    <Compile Include="Tizen.Applications\ProgressNotification.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Notification.project.json" />
+    <None Include="Tizen.Applications.Notification.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj">
+      <Project>{663c5a3d-e631-4987-aee7-f498c56a40fc}</Project>
+      <Name>Tizen.Applications.Common</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notification.nuspec b/src/Tizen.Applications.Notification/Tizen.Applications.Notification.nuspec
new file mode 100755 (executable)
index 0000000..059007e
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.Notification</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen.Applications.Common" version="1.2.0" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.Notification.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.Notification.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notification.project.json b/src/Tizen.Applications.Notification/Tizen.Applications.Notification.project.json
new file mode 100755 (executable)
index 0000000..55ec093
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
diff --git a/src/Tizen.Applications.Notification/Tizen.Applications.Notification.snk b/src/Tizen.Applications.Notification/Tizen.Applications.Notification.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.Notification/Tizen.Applications.Notification.snk differ
diff --git a/src/Tizen.Applications.PackageManager/Interop/Interop.Libraries.cs b/src/Tizen.Applications.PackageManager/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..83cbc6e
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string PackageManager = "libcapi-appfw-package-manager.so.0";
+    }
+}
diff --git a/src/Tizen.Applications.PackageManager/Properties/AssemblyInfo.cs b/src/Tizen.Applications.PackageManager/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..d51a149
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.PackageManager")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.Net45.csproj b/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.Net45.csproj
new file mode 100755 (executable)
index 0000000..8518698
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{806338B7-D321-4AB6-8FC0-58A22B289A28}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.PackageManager</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.PackageManager.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Package.cs" />
+    <Compile Include="Interop\Interop.PackageManager.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\CertificateType.cs" />
+    <Compile Include="Tizen.Applications\PackageEventState.cs" />
+    <Compile Include="Tizen.Applications\Package.cs" />
+    <Compile Include="Tizen.Applications\PackageCertificate.cs" />
+    <Compile Include="Tizen.Applications\PackageFilter.cs" />
+    <Compile Include="Tizen.Applications\PackageManager.cs" />
+    <Compile Include="Tizen.Applications\PackageManagerEventArgs.cs" />
+    <Compile Include="Tizen.Applications\PackageSizeInformation.cs" />
+    <Compile Include="Tizen.Applications\PackageType.cs" />
+    <Compile Include="Tizen.Applications\SafePackageManagerHandle.cs" />
+    <Compile Include="Tizen.Applications\StorageType.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.PackageManager.Net45.project.json" />
+    <None Include="Tizen.Applications.PackageManager.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.Net45.csproj">
+      <Project>{9acb2b86-bbea-4faa-880a-1977ab461c51}</Project>
+      <Name>Tizen.Applications.Common.Net45</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.Net45.project.json b/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.csproj b/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.csproj
new file mode 100755 (executable)
index 0000000..a81f65f
--- /dev/null
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{A83A9A54-9985-45BE-95DA-C768A93CF455}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.PackageManager</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.PackageManager.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Package.cs" />
+    <Compile Include="Interop\Interop.PackageManager.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\CertificateType.cs" />
+    <Compile Include="Tizen.Applications\PackageEventState.cs" />
+    <Compile Include="Tizen.Applications\Package.cs" />
+    <Compile Include="Tizen.Applications\PackageCertificate.cs" />
+    <Compile Include="Tizen.Applications\PackageFilter.cs" />
+    <Compile Include="Tizen.Applications\PackageManager.cs" />
+    <Compile Include="Tizen.Applications\PackageManagerEventArgs.cs" />
+    <Compile Include="Tizen.Applications\PackageSizeInformation.cs" />
+    <Compile Include="Tizen.Applications\PackageType.cs" />
+    <Compile Include="Tizen.Applications\SafePackageManagerHandle.cs" />
+    <Compile Include="Tizen.Applications\StorageType.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.PackageManager.project.json" />
+    <None Include="Tizen.Applications.PackageManager.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj">
+      <Project>{663c5a3d-e631-4987-aee7-f498c56a40fc}</Project>
+      <Name>Tizen.Applications.Common</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.nuspec b/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.nuspec
new file mode 100755 (executable)
index 0000000..28c4dba
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.PackageManager</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen.Applications.Common" version="1.2.0" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.PackageManager.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.PackageManager.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.project.json b/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.project.json
new file mode 100755 (executable)
index 0000000..55ec093
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
diff --git a/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.snk b/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.PackageManager/Tizen.Applications.PackageManager.snk differ
diff --git a/src/Tizen.Applications.Preference/Interop/Interop.Libraries.cs b/src/Tizen.Applications.Preference/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..d65c742
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string Preference = "libcapi-appfw-preference.so.0";
+    }
+}
diff --git a/src/Tizen.Applications.Preference/Properties/AssemblyInfo.cs b/src/Tizen.Applications.Preference/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..97ec66b
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.Preference")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.Preference/Tizen.Applications.Preference.Net45.csproj b/src/Tizen.Applications.Preference/Tizen.Applications.Preference.Net45.csproj
new file mode 100755 (executable)
index 0000000..97d6de2
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{E129083E-B2D4-4330-A433-C50F040B001C}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Preference</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Preference.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Preference.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\PreferenceChangedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\Preference.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Preference.Net45.project.json" />
+    <None Include="Tizen.Applications.Preference.snk" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Preference/Tizen.Applications.Preference.Net45.project.json b/src/Tizen.Applications.Preference/Tizen.Applications.Preference.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.Preference/Tizen.Applications.Preference.csproj b/src/Tizen.Applications.Preference/Tizen.Applications.Preference.csproj
new file mode 100755 (executable)
index 0000000..beb65d2
--- /dev/null
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{4A11B4AF-8C6F-4262-B19F-23EDCBA7521B}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Preference</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Preference.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Preference.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications\PreferenceChangedEventArgs.cs" />
+    <Compile Include="Tizen.Applications\Preference.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Preference.project.json" />
+    <None Include="Tizen.Applications.Preference.snk" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Preference/Tizen.Applications.Preference.nuspec b/src/Tizen.Applications.Preference/Tizen.Applications.Preference.nuspec
new file mode 100755 (executable)
index 0000000..2916d5f
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.Preference</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.Preference.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.Preference.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.Preference/Tizen.Applications.Preference.project.json b/src/Tizen.Applications.Preference/Tizen.Applications.Preference.project.json
new file mode 100755 (executable)
index 0000000..55ec093
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
diff --git a/src/Tizen.Applications.Preference/Tizen.Applications.Preference.snk b/src/Tizen.Applications.Preference/Tizen.Applications.Preference.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.Preference/Tizen.Applications.Preference.snk differ
diff --git a/src/Tizen.Applications.Service/Interop/Interop.Libraries.cs b/src/Tizen.Applications.Service/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..145ff34
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string AppcoreAgent = "libappcore-agent.so.1";
+    }
+}
 
 using System;
 using System.Runtime.InteropServices;
-
+using Tizen.Applications.CoreBackend;
 using Tizen.Internals.Errors;
 
 internal static partial class Interop
 {
     internal static partial class Service
     {
+        internal delegate void AppEventCallback(IntPtr handle, IntPtr data);
+
         internal delegate bool ServiceAppCreateCallback(IntPtr userData);
 
         internal delegate void ServiceAppTerminateCallback(IntPtr userData);
@@ -36,7 +38,7 @@ internal static partial class Interop
         internal static extern void Exit();
 
         [DllImport(Libraries.AppcoreAgent, EntryPoint = "service_app_add_event_handler")]
-        internal static extern ErrorCode AddEventHandler(out IntPtr handle, AppCommon.AppEventType eventType, AppCommon.AppEventCallback callback, IntPtr data);
+        internal static extern ErrorCode AddEventHandler(out IntPtr handle, DefaultCoreBackend.AppEventType eventType, AppEventCallback callback, IntPtr data);
 
         [DllImport(Libraries.AppcoreAgent, EntryPoint = "service_app_remove_event_handler")]
         internal static extern ErrorCode RemoveEventHandler(IntPtr handle);
diff --git a/src/Tizen.Applications.Service/Properties/AssemblyInfo.cs b/src/Tizen.Applications.Service/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..1432a49
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.Service")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.Service/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs b/src/Tizen.Applications.Service/Tizen.Applications.CoreBackend/ServiceCoreBackend.cs
new file mode 100755 (executable)
index 0000000..c8438f3
--- /dev/null
@@ -0,0 +1,162 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+using System;
+
+using Tizen.Internals.Errors;
+
+namespace Tizen.Applications.CoreBackend
+{
+    internal class ServiceCoreBackend : DefaultCoreBackend
+    {
+        private Interop.Service.ServiceAppLifecycleCallbacks _callbacks;
+        private IntPtr _lowMemoryEventHandle = IntPtr.Zero;
+        private IntPtr _lowBatteryEventHandle = IntPtr.Zero;
+        private IntPtr _localeChangedEventHandle = IntPtr.Zero;
+        private IntPtr _regionChangedEventHandle = IntPtr.Zero;
+        private bool _disposedValue = false;
+
+        public ServiceCoreBackend()
+        {
+            _callbacks.OnCreate = new Interop.Service.ServiceAppCreateCallback(OnCreateNative);
+            _callbacks.OnTerminate = new Interop.Service.ServiceAppTerminateCallback(OnTerminateNative);
+            _callbacks.OnAppControl = new Interop.Service.ServiceAppControlCallback(OnAppControlNative);
+        }
+
+        public override void Exit()
+        {
+            Interop.Service.Exit();
+        }
+
+        public override void Run(string[] args)
+        {
+            base.Run(args);
+
+            ErrorCode err = ErrorCode.None;
+            err = Interop.Service.AddEventHandler(out _lowMemoryEventHandle, AppEventType.LowMemory, OnLowMemoryNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for LowMemory event. Err = " + err);
+            }
+            err = Interop.Service.AddEventHandler(out _lowBatteryEventHandle, AppEventType.LowBattery, OnLowBatteryNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for LowBattery event. Err = " + err);
+            }
+
+            err = Interop.Service.AddEventHandler(out _localeChangedEventHandle, AppEventType.LanguageChanged, OnLocaleChangedNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for LocaleChanged event. Err = " + err);
+            }
+
+            err = Interop.Service.AddEventHandler(out _regionChangedEventHandle, AppEventType.RegionFormatChanged, OnRegionChangedNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for RegionFormatChanged event. Err = " + err);
+            }
+
+            err = Interop.Service.Main(args.Length, args, ref _callbacks, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to run the application. Err = " + err);
+            }
+        }
+
+        protected override void Dispose(bool disposing)
+        {
+            if (!_disposedValue)
+            {
+                if (disposing)
+                {
+                    // Release disposable objects
+                }
+
+                if (_lowMemoryEventHandle != IntPtr.Zero)
+                {
+                    Interop.Service.RemoveEventHandler(_lowMemoryEventHandle);
+                }
+                if (_lowBatteryEventHandle != IntPtr.Zero)
+                {
+                    Interop.Service.RemoveEventHandler(_lowBatteryEventHandle);
+                }
+                if (_localeChangedEventHandle != IntPtr.Zero)
+                {
+                    Interop.Service.RemoveEventHandler(_localeChangedEventHandle);
+                }
+                if (_regionChangedEventHandle != IntPtr.Zero)
+                {
+                    Interop.Service.RemoveEventHandler(_regionChangedEventHandle);
+                }
+
+                _disposedValue = true;
+            }
+        }
+
+        private bool OnCreateNative(IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.Created))
+            {
+                var handler = Handlers[EventType.Created] as Action;
+                handler?.Invoke();
+            }
+            return true;
+        }
+
+        private void OnTerminateNative(IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.Terminated))
+            {
+                var handler = Handlers[EventType.Terminated] as Action;
+                handler?.Invoke();
+            }
+        }
+
+        private void OnAppControlNative(IntPtr appControlHandle, IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.AppControlReceived))
+            {
+                // Create a SafeAppControlHandle but the ownsHandle is false,
+                // because the appControlHandle will be closed by native appfw after this method automatically.
+                SafeAppControlHandle safeHandle = new SafeAppControlHandle(appControlHandle, false);
+
+                var handler = Handlers[EventType.AppControlReceived] as Action<AppControlReceivedEventArgs>;
+                handler?.Invoke(new AppControlReceivedEventArgs(new ReceivedAppControl(safeHandle)));
+            }
+        }
+
+        protected override void OnLowMemoryNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnLowBatteryNative(infoHandle, data);
+        }
+
+        protected override void OnLowBatteryNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnLowBatteryNative(infoHandle, data);
+        }
+
+        protected override void OnLocaleChangedNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnLocaleChangedNative(infoHandle, data);
+        }
+
+        protected override void OnRegionChangedNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnRegionChangedNative(infoHandle, data);
+        }
+
+    }
+}
diff --git a/src/Tizen.Applications.Service/Tizen.Applications.Service.Net45.csproj b/src/Tizen.Applications.Service/Tizen.Applications.Service.Net45.csproj
new file mode 100755 (executable)
index 0000000..caef258
--- /dev/null
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{A399ED54-EB41-4773-9A29-772640C093EC}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Service</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Service.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Service.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\ServiceCoreBackend.cs" />
+    <Compile Include="Tizen.Applications\ServiceApplication.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Service.Net45.project.json" />
+    <None Include="Tizen.Applications.Service.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.Net45.csproj">
+      <Project>{9acb2b86-bbea-4faa-880a-1977ab461c51}</Project>
+      <Name>Tizen.Applications.Common.Net45</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Service/Tizen.Applications.Service.Net45.project.json b/src/Tizen.Applications.Service/Tizen.Applications.Service.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.Service/Tizen.Applications.Service.csproj b/src/Tizen.Applications.Service/Tizen.Applications.Service.csproj
new file mode 100755 (executable)
index 0000000..8df409c
--- /dev/null
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{FF139F0E-DB10-4074-AFA1-229A7CAB54A3}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.Service</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.Service.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Interop\Interop.Service.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\ServiceCoreBackend.cs" />
+    <Compile Include="Tizen.Applications\ServiceApplication.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.Service.project.json" />
+    <None Include="Tizen.Applications.Service.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj">
+      <Project>{663c5a3d-e631-4987-aee7-f498c56a40fc}</Project>
+      <Name>Tizen.Applications.Common</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.Service/Tizen.Applications.Service.nuspec b/src/Tizen.Applications.Service/Tizen.Applications.Service.nuspec
new file mode 100755 (executable)
index 0000000..ae3658d
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.Service</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen.Applications.Common" version="1.2.0" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.Service.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.Service.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.Service/Tizen.Applications.Service.project.json b/src/Tizen.Applications.Service/Tizen.Applications.Service.project.json
new file mode 100755 (executable)
index 0000000..55ec093
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
diff --git a/src/Tizen.Applications.Service/Tizen.Applications.Service.snk b/src/Tizen.Applications.Service/Tizen.Applications.Service.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.Service/Tizen.Applications.Service.snk differ
 
 using System;
 using System.Runtime.InteropServices;
-
+using Tizen.Applications.CoreBackend;
 using Tizen.Internals.Errors;
 
 internal static partial class Interop
 {
     internal static partial class Application
     {
+        internal delegate void AppEventCallback(IntPtr handle, IntPtr data);
+
         internal delegate bool AppCreateCallback(IntPtr userData);
 
         internal delegate void AppPauseCallback(IntPtr userData);
@@ -40,7 +42,7 @@ internal static partial class Interop
         internal static extern void Exit();
 
         [DllImport(Libraries.Application, EntryPoint = "ui_app_add_event_handler")]
-        internal static extern ErrorCode AddEventHandler(out IntPtr handle, AppCommon.AppEventType eventType, AppCommon.AppEventCallback callback, IntPtr data);
+        internal static extern ErrorCode AddEventHandler(out IntPtr handle, DefaultCoreBackend.AppEventType eventType, AppEventCallback callback, IntPtr data);
 
         [DllImport(Libraries.Application, EntryPoint = "ui_app_remove_event_handler")]
         internal static extern ErrorCode RemoveEventHandler(IntPtr handle);
diff --git a/src/Tizen.Applications.UI/Interop/Interop.Libraries.cs b/src/Tizen.Applications.UI/Interop/Interop.Libraries.cs
new file mode 100755 (executable)
index 0000000..03047b1
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+internal static partial class Interop
+{
+    internal static partial class Libraries
+    {
+        public const string Application = "libcapi-appfw-application.so.0";
+    }
+}
diff --git a/src/Tizen.Applications.UI/Properties/AssemblyInfo.cs b/src/Tizen.Applications.UI/Properties/AssemblyInfo.cs
new file mode 100755 (executable)
index 0000000..2c17931
--- /dev/null
@@ -0,0 +1,20 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Tizen.Applications.UI")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Samsung Electronics")]
+[assembly: AssemblyProduct("Tizen.Applications")]
+[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
+
+[assembly: Guid("d2d1a3ce-000e-4ab3-81c4-a8a44a008989")]
+
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Tizen.Applications.UI/Tizen.Applications.CoreBackend/UICoreBackend.cs b/src/Tizen.Applications.UI/Tizen.Applications.CoreBackend/UICoreBackend.cs
new file mode 100755 (executable)
index 0000000..9d8c2d1
--- /dev/null
@@ -0,0 +1,187 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+using System;
+
+using Tizen.Internals.Errors;
+
+namespace Tizen.Applications.CoreBackend
+{
+    internal class UICoreBackend : DefaultCoreBackend
+    {
+        private Interop.Application.UIAppLifecycleCallbacks _callbacks;
+        private IntPtr _lowMemoryEventHandle = IntPtr.Zero;
+        private IntPtr _lowBatteryEventHandle = IntPtr.Zero;
+        private IntPtr _localeChangedEventHandle = IntPtr.Zero;
+        private IntPtr _regionChangedEventHandle = IntPtr.Zero;
+        private bool _disposedValue = false;
+
+        public UICoreBackend()
+        {
+            _callbacks.OnCreate = new Interop.Application.AppCreateCallback(OnCreateNative);
+            _callbacks.OnTerminate = new Interop.Application.AppTerminateCallback(OnTerminateNative);
+            _callbacks.OnAppControl = new Interop.Application.AppControlCallback(OnAppControlNative);
+            _callbacks.OnResume = new Interop.Application.AppResumeCallback(OnResumeNative);
+            _callbacks.OnPause = new Interop.Application.AppPauseCallback(OnPauseNative);
+        }
+
+        public override void Exit()
+        {
+            Interop.Application.Exit();
+        }
+
+        public override void Run(string[] args)
+        {
+            base.Run(args);
+
+            ErrorCode err = ErrorCode.None;
+            err = Interop.Application.AddEventHandler(out _lowMemoryEventHandle, AppEventType.LowMemory, OnLowMemoryNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for LowMemory event. Err = " + err);
+            }
+            err = Interop.Application.AddEventHandler(out _lowBatteryEventHandle, AppEventType.LowBattery, OnLowBatteryNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for LowBattery event. Err = " + err);
+            }
+
+            err = Interop.Application.AddEventHandler(out _localeChangedEventHandle, AppEventType.LanguageChanged, OnLocaleChangedNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for LocaleChanged event. Err = " + err);
+            }
+
+            err = Interop.Application.AddEventHandler(out _regionChangedEventHandle, AppEventType.RegionFormatChanged, OnRegionChangedNative, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to add event handler for RegionFormatChanged event. Err = " + err);
+            }
+
+            err = Interop.Application.Main(args.Length, args, ref _callbacks, IntPtr.Zero);
+            if (err != ErrorCode.None)
+            {
+                Log.Error(LogTag, "Failed to run the application. Err = " + err);
+            }
+        }
+
+        protected override void Dispose(bool disposing)
+        {
+            if (!_disposedValue)
+            {
+                if (disposing)
+                {
+                    // Release disposable objects
+                }
+
+                if (_lowMemoryEventHandle != IntPtr.Zero)
+                {
+                    Interop.Application.RemoveEventHandler(_lowMemoryEventHandle);
+                }
+                if (_lowBatteryEventHandle != IntPtr.Zero)
+                {
+                    Interop.Application.RemoveEventHandler(_lowBatteryEventHandle);
+                }
+                if (_localeChangedEventHandle != IntPtr.Zero)
+                {
+                    Interop.Application.RemoveEventHandler(_localeChangedEventHandle);
+                }
+                if (_regionChangedEventHandle != IntPtr.Zero)
+                {
+                    Interop.Application.RemoveEventHandler(_regionChangedEventHandle);
+                }
+
+                _disposedValue = true;
+            }
+        }
+
+        private bool OnCreateNative(IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.PreCreated))
+            {
+                var handler = Handlers[EventType.PreCreated] as Action;
+                handler?.Invoke();
+            }
+
+            if (Handlers.ContainsKey(EventType.Created))
+            {
+                var handler = Handlers[EventType.Created] as Action;
+                handler?.Invoke();
+            }
+            return true;
+        }
+
+        private void OnTerminateNative(IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.Terminated))
+            {
+                var handler = Handlers[EventType.Terminated] as Action;
+                handler?.Invoke();
+            }
+        }
+
+        private void OnAppControlNative(IntPtr appControlHandle, IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.AppControlReceived))
+            {
+                // Create a SafeAppControlHandle but the ownsHandle is false,
+                // because the appControlHandle will be closed by native appfw after this method automatically.
+                SafeAppControlHandle safeHandle = new SafeAppControlHandle(appControlHandle, false);
+
+                var handler = Handlers[EventType.AppControlReceived] as Action<AppControlReceivedEventArgs>;
+                handler?.Invoke(new AppControlReceivedEventArgs(new ReceivedAppControl(safeHandle)));
+            }
+        }
+
+        private void OnResumeNative(IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.Resumed))
+            {
+                var handler = Handlers[EventType.Resumed] as Action;
+                handler?.Invoke();
+            }
+        }
+
+        private void OnPauseNative(IntPtr data)
+        {
+            if (Handlers.ContainsKey(EventType.Paused))
+            {
+                var handler = Handlers[EventType.Paused] as Action;
+                handler?.Invoke();
+            }
+        }
+
+        protected override void OnLowMemoryNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnLowBatteryNative(infoHandle, data);
+        }
+
+        protected override void OnLowBatteryNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnLowBatteryNative(infoHandle, data);
+        }
+
+        protected override void OnLocaleChangedNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnLocaleChangedNative(infoHandle, data);
+        }
+
+        protected override void OnRegionChangedNative(IntPtr infoHandle, IntPtr data)
+        {
+            base.OnRegionChangedNative(infoHandle, data);
+        }
+    }
+}
diff --git a/src/Tizen.Applications.UI/Tizen.Applications.UI.Net45.csproj b/src/Tizen.Applications.UI/Tizen.Applications.UI.Net45.csproj
new file mode 100755 (executable)
index 0000000..133b44e
--- /dev/null
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{9D0FA46A-BF8B-46AF-9DD9-02A72C8997AD}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.UI</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\Net45\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\Net45\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.UI.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Application.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\UICoreBackend.cs" />
+    <Compile Include="Tizen.Applications\CoreUIApplication.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.UI.Net45.project.json" />
+    <None Include="Tizen.Applications.UI.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.Net45.csproj">
+      <Project>{9acb2b86-bbea-4faa-880a-1977ab461c51}</Project>
+      <Name>Tizen.Applications.Common.Net45</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.UI/Tizen.Applications.UI.Net45.project.json b/src/Tizen.Applications.UI/Tizen.Applications.UI.Net45.project.json
new file mode 100755 (executable)
index 0000000..1ec1af2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
diff --git a/src/Tizen.Applications.UI/Tizen.Applications.UI.csproj b/src/Tizen.Applications.UI/Tizen.Applications.UI.csproj
new file mode 100755 (executable)
index 0000000..1773b61
--- /dev/null
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{9AFFA998-5065-487E-BEDB-8B290AD2138F}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>
+    </RootNamespace>
+    <AssemblyName>Tizen.Applications.UI</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
+    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+    <NoStdLib>true</NoStdLib>
+    <NoWarn>$(NoWarn);1701;1702</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.UI.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="Interop\Interop.Application.cs" />
+    <Compile Include="Interop\Interop.Libraries.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Tizen.Applications.CoreBackend\UICoreBackend.cs" />
+    <Compile Include="Tizen.Applications\CoreUIApplication.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tizen.Applications.UI.project.json" />
+    <None Include="Tizen.Applications.UI.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj">
+      <Project>{663c5a3d-e631-4987-aee7-f498c56a40fc}</Project>
+      <Name>Tizen.Applications.Common</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <PropertyGroup>
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/src/Tizen.Applications.UI/Tizen.Applications.UI.nuspec b/src/Tizen.Applications.UI/Tizen.Applications.UI.nuspec
new file mode 100755 (executable)
index 0000000..6cdd539
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package>
+       <metadata>
+               <id>Tizen.Applications.UI</id>
+               <version>$version$</version>
+               <authors>Samsung Electronics</authors>
+               <requireLicenseAcceptance>false</requireLicenseAcceptance>
+               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+               <projectUrl>https://www.tizen.org/</projectUrl>
+               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+               <description>Provides the Application Frameworks API for Tizen.Net</description>
+               <dependencies>
+                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen.Applications.Common" version="1.2.0" />
+               </dependencies>
+       </metadata>
+       <files>
+               <file src="bin/$Configuration$/Tizen.Applications.UI.dll" target="lib/netstandard1.3" />
+               <file src="bin/$Configuration$/Net45/Tizen.Applications.UI.dll" target="lib/net45" />
+       </files>
+</package>
diff --git a/src/Tizen.Applications.UI/Tizen.Applications.UI.project.json b/src/Tizen.Applications.UI/Tizen.Applications.UI.project.json
new file mode 100755 (executable)
index 0000000..55ec093
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.2"
+  },
+  "frameworks": {
+    "netstandard1.3": {}
+  }
+}
diff --git a/src/Tizen.Applications.UI/Tizen.Applications.UI.snk b/src/Tizen.Applications.UI/Tizen.Applications.UI.snk
new file mode 100755 (executable)
index 0000000..7ac1b00
Binary files /dev/null and b/src/Tizen.Applications.UI/Tizen.Applications.UI.snk differ