--- /dev/null
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.28307.852
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicTpkApp01", "BasicTpkApp01\BasicTpkApp01.csproj", "{822C6428-9561-4802-B0C1-E2793D3418AC}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {822C6428-9561-4802-B0C1-E2793D3418AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {822C6428-9561-4802-B0C1-E2793D3418AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {822C6428-9561-4802-B0C1-E2793D3418AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {822C6428-9561-4802-B0C1-E2793D3418AC}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {F2CBD2B9-D45F-48A5-85AC-830E3F4F9DB5}
+ EndGlobalSection
+EndGlobal
--- /dev/null
+<Project Sdk="Tizen.NET.Sdk/1.0.3">
+
+ <PropertyGroup>
+ <OutputType>Exe</OutputType>
+ <TargetFramework>tizen70</TargetFramework>
+ <TargetFrameworkIdentifier>Tizen</TargetFrameworkIdentifier>
+ </PropertyGroup>
+
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugType>portable</DebugType>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>None</DebugType>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Folder Include="lib\"/>
+ <Folder Include="res\"/>
+ </ItemGroup>
+
+</Project>
--- /dev/null
+using Tizen.Applications;
+using ElmSharp;
+
+namespace BasicTpkApp01
+{
+ class App : CoreUIApplication
+ {
+ protected override void OnCreate()
+ {
+ base.OnCreate();
+ Initialize();
+ }
+
+ void Initialize()
+ {
+ Window window = new Window("ElmSharpApp")
+ {
+ AvailableRotations = DisplayRotation.Degree_0 | DisplayRotation.Degree_180 | DisplayRotation.Degree_270 | DisplayRotation.Degree_90
+ };
+ window.BackButtonPressed += (s, e) =>
+ {
+ Exit();
+ };
+ window.Show();
+
+ var box = new Box(window)
+ {
+ AlignmentX = -1,
+ AlignmentY = -1,
+ WeightX = 1,
+ WeightY = 1,
+ };
+ box.Show();
+
+ var bg = new Background(window)
+ {
+ Color = Color.White
+ };
+ bg.SetContent(box);
+
+ var conformant = new Conformant(window);
+ conformant.Show();
+ conformant.SetContent(bg);
+
+ var label = new Label(window)
+ {
+ Text = "Hello, Tizen",
+ Color = Color.Black
+ };
+ label.Show();
+ box.PackEnd(label);
+ }
+
+ static void Main(string[] args)
+ {
+ Elementary.Initialize();
+ Elementary.ThemeOverlay();
+ App app = new App();
+ app.Run(args);
+ }
+ }
+}
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" api-version="7" package="BasicTpkApp01" version="1.0.0">
+ <profile name="common" />
+ <ui-application appid="BasicTpkApp01" exec="BasicTpkApp01.dll" type="dotnet" multiple="false" taskmanage="true" nodisplay="false" launch_mode="single">
+ <label>BasicTpkApp01</label>
+ <icon>BasicTpkApp01.png</icon>
+ <metadata key="myMetaDataKey1" value="myMetaDataValue1"/>
+ <category name="myCategory1"/>
+ <category name="myCategory2"/>
+ </ui-application>
+ <privileges>
+ <privilege>http://tizen.org/privilege/mediastorage</privilege>
+ <privilege>http://tizen.org/privilege/appdir.shareddata</privilege>
+ <privilege>http://tizen.org/privilege/network.get</privilege>
+ <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
+ <privilege>http://tizen.org/privilege/haptic</privilege>
+ <privilege>http://tizen.org/privilege/display</privilege>
+ <privilege>http://tizen.org/privilege/notification</privilege>
+ <privilege>http://tizen.org/privilege/packagemanager.info</privilege>
+ <privilege>http://tizen.org/privilege/externalstorage</privilege>
+ </privileges>
+</manifest>
public class ApplicationInfoTests
{
public ApplicationInfo _appInfor;
- private const string AppId = "0pOuHwKNsr.BasicWebApp01";
- private const string AppLocalLabel = "BasicWebApp01";
+ private const string AppId = "BasicTpkApp01";
+ private const string AppLocalLabel = "BasicTpkApp01";
private const string MetaKey = "myMetaDataKey1";
private const string CategoryName1 = "myCategory1";
private const string CategoryName2 = "myCategory2";
- private const string ExecutablePath = "/bin/0pOuHwKNsr.BasicWebApp01";
- private const string IconPath = "/shared/res/0pOuHwKNsr.BasicWebApp01.png";
- private const string AppType = "webapp";
- private const string AppLabel = "BasicWebApp01";
- private const string PackgeId = "0pOuHwKNsr";
+ private const string ExecutablePath = "/bin/BasicTpkApp01.dll";
+ private const string IconPath = "/shared/res/BasicTpkApp01.png";
+ private const string AppType = "dotnet";
+ private const string AppLabel = "BasicTpkApp01";
+ private const string PackgeId = "BasicTpkApp01";
private const string SharedResourcePath = "/shared/res/";
private const string SharedTrustedPath = "/shared/trusted/";
private bool _flag;