\r
Microsoft Visual Studio Solution File, Format Version 12.00\r
-# Visual Studio 15\r
-VisualStudioVersion = 15.0.26430.14\r
+# Visual Studio 14\r
+VisualStudioVersion = 14.0.25420.1\r
MinimumVisualStudioVersion = 10.0.40219.1\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples-dummy", "NUISamples\NUISamples\NUISamples-dummy.csproj", "{56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}"\r
+EndProject\r
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples.TizenTV", "NUISamples\NUISamples.TizenTV\NUISamples.TizenTV.csproj", "{7731BE98-0A68-49A9-877C-A30A0D30D9F6}"\r
+ ProjectSection(ProjectDependencies) = postProject\r
+ {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA} = {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}\r
+ EndProjectSection\r
+EndProject\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.NUI", "..\Tizen.NUI\Tizen.NUI.csproj", "{F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}"\r
EndProject\r
Global\r
GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
Release|Any CPU = Release|Any CPU\r
EndGlobalSection\r
GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+ {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+ {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+ {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+ {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Release|Any CPU.Build.0 = Release|Any CPU\r
{7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
{7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
{7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
{7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Release|Any CPU.Build.0 = Release|Any CPU\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.Build.0 = Release|Any CPU\r
EndGlobalSection\r
GlobalSection(SolutionProperties) = preSolution\r
HideSolutionNode = FALSE\r
<Compile Include="examples\relative-vector.cs" />\r
<Compile Include="examples\scroll-view.cs" />\r
<Compile Include="examples\sibling-order-test.cs" />\r
- <Compile Include="examples\widget-view-test.cs" />\r
<Compile Include="examples\test1.cs" />\r
<Compile Include="examples\text-test.cs" />\r
<Compile Include="examples\ttsplayer-test.cs" />\r
<Compile Include="examples\visual-view-test2.cs" />\r
<Compile Include="examples\visual-view-test.cs" />\r
<Compile Include="examples\visual-view-test3.cs" />\r
- <Compile Include="examples\visuals-example.cs" />\r
<Compile Include="examples\visuals-using-custom-view\ContactData.cs" />\r
<Compile Include="examples\visuals-using-custom-view\ContactView.cs" />\r
<Compile Include="examples\visuals-using-custom-view\visuals-using-custom-view.cs" />\r
<Folder Include="lib\" />\r
</ItemGroup>\r
<ItemGroup>\r
- <Content Include="res\images\anim-gif\0.gif" />\r
- <Content Include="res\images\anim-gif\1.gif" />\r
- <Content Include="res\images\anim-gif\10.gif" />\r
- <Content Include="res\images\anim-gif\11.gif" />\r
- <Content Include="res\images\anim-gif\12.gif" />\r
- <Content Include="res\images\anim-gif\13.gif" />\r
- <Content Include="res\images\anim-gif\14.gif" />\r
- <Content Include="res\images\anim-gif\2.gif" />\r
- <Content Include="res\images\anim-gif\3.gif" />\r
- <Content Include="res\images\anim-gif\4.gif" />\r
- <Content Include="res\images\anim-gif\5.gif" />\r
- <Content Include="res\images\anim-gif\6.gif" />\r
- <Content Include="res\images\anim-gif\7.gif" />\r
- <Content Include="res\images\anim-gif\8.gif" />\r
- <Content Include="res\images\anim-gif\9.gif" />\r
+ <ProjectReference Include="..\..\..\Tizen.NUI\Tizen.NUI.csproj">\r
+ <Project>{f03a3b48-9d9b-4bf3-92ce-bd63cadc3cd3}</Project>\r
+ <Name>Tizen.NUI</Name>\r
+ </ProjectReference>\r
+ <ProjectReference Include="..\NUISamples\NUISamples-dummy.csproj">\r
+ <Project>{56ca3b27-c662-4ac8-93ca-7acef926b2aa}</Project>\r
+ <Name>NUISamples-dummy</Name>\r
+ </ProjectReference>\r
+ </ItemGroup>\r
+ <ItemGroup>\r
<Content Include="res\images\application-icon-0.png" />\r
<Content Include="res\images\background-blocks.jpg" />\r
<Content Include="res\images\dali-logo-anim.gif" />\r
<Content Include="res\images\image-3.jpg" />\r
<Content Include="res\images\Kid1.svg" />\r
<Content Include="res\images\Mail.svg" />\r
- <Content Include="res\images\mask.png" />\r
<Content Include="res\images\menu\0.png" />\r
<Content Include="res\images\menu\1.png" />\r
<Content Include="res\images\menu\2.png" />\r
<Content Include="res\images\focuseffect\white-pixel.png" />\r
<Content Include="res\images\World.svg" />\r
</ItemGroup>\r
- <ItemGroup>\r
- <Reference Include="Tizen.NUI">\r
- <HintPath>..\..\..\..\..\..\..\..\..\GBS-BUILD\unified-arm\local\repos\unified.arm\armv7l\RPMS\Tizen.NUI.dll</HintPath>\r
- </Reference>\r
- </ItemGroup>\r
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.\r
Other similar extension points exist, see Microsoft.Common.targets.\r
<ProjectExtensions>\r
<VisualStudio>\r
<FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Debug|Any CPU">\r
- <ProjectCommonFlavorCfg />\r
+ <ProjectCorporateFlavorCfg />\r
</FlavorProperties>\r
<FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Release|Any CPU">\r
- <ProjectCommonFlavorCfg />\r
+ <ProjectCorporateFlavorCfg />\r
</FlavorProperties>\r
</VisualStudio>\r
</ProjectExtensions>\r
-</Project>
\ No newline at end of file
+</Project>\r
//new VisualsUsingCustomView.VisualsExample().Run(args);
//new FirstScreen.FirstScreenApp().Run(args);
//new VisualsExampleTest.Example().Run(args);
- //new AsIsTest.Example().Run(args);
- new WidgetViewTest.Example().Run(args);
+ new AsIsTest.Example().Run(args);
}
}
}
private void ObjectDumpTrigger()
{
- for (int i = 0; i < Window.LayerCount; i++)
+ for (int i = 0; i < Window.GetLayerCount(); i++)
{
BFS(Window.GetLayer((uint)i), 1);
}
Tizen.Log.Fatal("NUI-APP", string.Format("it is not TextLaebl"));
}
- for (int i = 0; i < myView.ChildCount; i++)
+ for (int i = 0; i < myView.GetChildCount(); i++)
{
BFS(myView.GetChildAt((uint)i), depth + 1);
}
layer.Add(vi2);
layer.Add(tb3);
- Window.Instance.AddLayer(layer);
+ Window.Instance.Add(layer);
}
void ObjectDumpTrigger2()
{
- uint layerCnt = Window.LayerCount;
+ uint layerCnt = Window.GetLayerCount();
Tizen.Log.Fatal("NUI-APP", "layerCnt=" + layerCnt);
for (uint i = 0; i < layerCnt; i++)
{
if (view)
{
- uint childCnt = view.ChildCount;
+ uint childCnt = view.GetChildCount();
if (childCnt > 0)
{
depth = depth + 1;
private Spin _spinYear; // spin control for year
private Spin _spinMonth; // spin control for month
private Spin _spinDay; // spin control for day
- //private Builder _builder; // DALi Builder
+ private Builder _builder; // DALi Builder
//private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
private const string _resPath = "./res"; //for ubuntu
//This is required for the Application which uses JSON theme and style of Dali builder
ViewRegistryHelper.Initialize();
- /*
+
// load date JSON template...
_builder = new Builder ();
FocusManager keyboardFocusManager = FocusManager.Instance;
keyboardFocusManager.PreFocusChange += OnKeyboardPreFocusChange;
- //keyboardFocusManager.FocusedViewActivated += OnFocusedViewActivated;
+ keyboardFocusManager.FocusedViewActivated += OnFocusedViewActivated;
StyleManager.Get().ApplyTheme(_resPath + "/json/date-picker-theme.json");
- */
}
private View OnKeyboardPreFocusChange(object source, FocusManager.PreFocusChangeEventArgs e)
return nextFocusView;
}
- /*
+
private void OnFocusedViewActivated(object source, FocusManager.FocusedViewActivatedEventArgs e)
{
// Make the text field in the current focused spin to take the key input
}
}
}
- */
+
/// <summary>
/// The main entry point for the application.
};
//added
- Window.Instance.TouchEvent += (sender, e) =>
+ Window.Instance.Touched += (sender, e) =>
{
Tizen.Log.Debug("NUI", "Window Touch signal callback! To avoid crash, when losing key focus, set here again unless the NextView is null");
FocusManager.Instance.SetCurrentFocusView(label[3]);
//This function is called when the app exit normally.
base.OnTerminate();
}
- /*
+
protected override void OnLowMemory(LowMemoryEventArgs e)
{
//This function is called when the system is low on memory.
base.OnLowMemory(e);
}
+
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
{
//This function is called when the language is changed.
base.OnLocaleChanged(e);
}
- */
+
private static void _Main(string[] args)
{
//Create an Application
{
// Connect the signal callback for window touched signal
_window = Window.Instance;
- _window.TouchEvent += OnWindowTouched;
+ _window.Touched += OnWindowTouched;
// Add a _text label to the window
_text = new TextLabel("Hello Mono World");
}
// Callback for window touched signal handling
- private void OnWindowTouched(object sender, Window.TouchEventArgs e)
+ private void OnWindowTouched(object sender, Window.TouchedEventArgs e)
{
// Only animate the _text label when touch down happens
if (e.Touch.GetState(0) == PointStateType.Down)
{
Window window = Window.Instance;
window.BackgroundColor = Color.White;
- window.TouchEvent += OnWindowTouched;
- window.KeyEvent += OnWindowKeyEvent;
+ window.Touched += OnWindowTouched;
+ window.KeyPressed += OnWindowKeyEvent;
window.Resized += (obj, e) =>
{
- Tizen.Log.Debug("NUI", "Height: " + e.WindowSize.GetHeight());
- Tizen.Log.Debug("NUI", "Width: " + e.WindowSize.GetWidth());
+ Tizen.Log.Debug("NUI", "Height: " + e.Height);
+ Tizen.Log.Debug("NUI", "Width: " + e.Width);
};
TextLabel pixelLabel = new TextLabel("Test Pixel Size 32.0f");
}
}
- public void OnWindowTouched(object sender, Window.TouchEventArgs e)
+ public void OnWindowTouched(object sender, Window.TouchedEventArgs e)
{
if (e.Touch.GetState(0) == PointStateType.Down)
{
Log("Customized Application Initialize event handler");
window = Window.Instance;
window.BackgroundColor = Color.Cyan;
- window.TouchEvent += OnWindowTouched;
- window.WheelEvent += OnWindowWheelMoved;
- window.KeyEvent += OnWindowKeyPressed;
+ window.Touched += OnWindowTouched;
+ window.WheelRolled += OnWindowWheelMoved;
+ window.KeyPressed += OnWindowKeyPressed;
//window.EventProcessingFinished += OnWindowEventProcessingFinished;
layer = window.GetDefaultLayer();
_layer1 = new Layer();
_layer2 = new Layer();
- window.AddLayer(_layer1);
- window.AddLayer(_layer2);
+ window.Add(_layer1);
+ window.Add(_layer2);
Log("_layer1.Behavior =" + _layer1.Behavior);
if (_layer1.Behavior == Layer.LayerBehavior.LayerUI)
{
Log("state=" + e.Key.State);
}
- public void OnWindowWheelMoved(object sender, Window.WheelEventArgs e)
+ public void OnWindowWheelMoved(object sender, Window.WheelRolledEventArgs e)
{
Log("OnWindowWheelEventOccured()!");
Log("direction=" + e.Wheel.Direction);
}
// Callback for window touched signal handling
- public void OnWindowTouched(object sender, Window.TouchEventArgs e)
+ public void OnWindowTouched(object sender, Window.TouchedEventArgs e)
{
Log("OnWindowTouched()! e.TouchData.GetState(0)=" + e.Touch.GetState(0));
}
private void Initialize()
{
_window = Window.Instance;
- _window.TouchEvent += OnWindowTouched;
+ _window.Touched += OnWindowTouched;
_imageView = new ImageView();
_imageView.ResourceUrl = resources+"/images/gallery-3.jpg";
}
// Callback for window touched signal handling
- private void OnWindowTouched(object sender, Window.TouchEventArgs e)
+ private void OnWindowTouched(object sender, Window.TouchedEventArgs e)
{
// Only animate the _text label when touch down happens
if (e.Touch.GetState(0) == PointStateType.Down)
// Connect to the OnRelayout signal
_scrollView.Relayout += OnScrollViewRelayout;
//_scrollView.Touched += OnTouch;
- _scrollView.WheelEvent += Onwheel;
+ _scrollView.WheelRolled += Onwheel;
_scrollView.FocusGained += OnKey;
_text = new TextLabel("View Touch Event Handler Test");
_text.ParentOrigin = ParentOrigin.Center;
Tizen.Log.Debug("NUI", "View Keyevent EVENT callback....");
}
- private bool Onwheel(object source, View.WheelEventArgs e)
+ private bool Onwheel(object source, View.WheelRolledEventArgs e)
{
Tizen.Log.Debug("NUI", "View Wheel EVENT callback....");
return true;
}
- private bool OnTouch(object source, View.TouchEventArgs e)
+ private bool OnTouch(object source, View.TouchedEventArgs e)
{
Tizen.Log.Debug("NUI", "View TOUCH EVENT callback....");
ttsPlayer.StateChanged += (s, e) =>
{
- Tizen.Log.Debug("NUI", "TTS state changed!!!");
+ Tizen.Log.Debug("TTS state changed!!!");
};
ttsPlayer.Pause();
ttsPlayer.Resume();
ttsPlayer.Stop();
- Tizen.Log.Debug("NUI", "TTS state: " + ttsPlayer.GetState());
+ Tizen.Log.Debug("TTS state: " + ttsPlayer.GetState());
}
[STAThread]
Log("Initialize() is called!");
Window window = Window.Instance;
window.BackgroundColor = Color.White;
- window.TouchEvent += OnWindowTouched;
- window.TouchEvent += OnWindowTouched2;
+ window.Touched += OnWindowTouched;
+ window.Touched += OnWindowTouched2;
//window.EventProcessingFinished += OnEventProcessingFinished;
- window.WheelEvent += OnWindowWheelEvent;
+ window.WheelRolled += OnWindowWheelEvent;
// Add a _text label to the window
_text = new TextLabel("Hello Mono World");
}
// Callback for window touched signal handling
- public void OnWindowTouched(object source, Window.TouchEventArgs e)
+ public void OnWindowTouched(object source, Window.TouchedEventArgs e)
{
// Only animate the _text label when touch down happens
if (e.Touch.GetState(0) == PointStateType.Down)
}
// Callback for window touched signal handling
- public void OnWindowTouched2(object source, Window.TouchEventArgs e)
+ public void OnWindowTouched2(object source, Window.TouchedEventArgs e)
{
Log("OnWindowTouched2() is called!state=" + e.Touch.GetState(0));
}
Log("OnEventProcessingFinished() is called!");
}
- public void OnWindowWheelEvent(object source, Window.WheelEventArgs e)
+ public void OnWindowWheelEvent(object source, Window.WheelRolledEventArgs e)
{
Log("OnWindowWheelEvent() is called!");
//Log("OnWindowWheelEvent() is called!direction="+ e.WheelEvent.direction + " timeStamp=" + e.WheelEvent.timeStamp );
Window.Instance.Add(view[i]);
view[i].FocusGained += FocusNavigationSample_FocusGained;
view[i].FocusLost += FocusNavigationSample_FocusLost;
- view[i].KeyEvent += FocusNavigationSample_KeyEvent;
+ view[i].Key += FocusNavigationSample_KeyEvent;
}
view[0].RightFocusableView = view[1];
FocusManager.Instance.SetCurrentFocusView(view[0]);
FocusManager.Instance.PreFocusChange += Instance_PreFocusChange;
- Window.Instance.TouchEvent += Instance_Touch;
+ Window.Instance.Touched += Instance_Touch;
}
- private void Instance_Touch(object sender, Window.TouchEventArgs e)
+ private void Instance_Touch(object sender, Window.TouchedEventArgs e)
{
Tizen.Log.Debug("NUI", "window touched! set key focus as view[0]!");
FocusManager.Instance.SetCurrentFocusView(view[0]);
private TextLabel _title;
private PushButton _shadowButton;
private bool _active = false;
- private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res"; //for tizen
- //private const string _resPath = "./res"; //for ubuntu
+ //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+ private const string _resPath = "./res"; //for ubuntu
private Animation _animation1;
private bool _transitionInProgress = false;
private AnimatedImageVisual gifVisual;
private ImageVisual _icon;
+ public Example() : base()
+ {
+ }
+
+ public Example(string stylesheet) : base(stylesheet)
+ {
+ }
+
+ public Example(string stylesheet, WindowMode windowMode) : base(stylesheet, windowMode)
+ {
+ }
+
protected override void OnCreate()
{
base.OnCreate();
{
Tizen.Log.Debug("NUI", "gif button clicked!");
cnt2++;
- int gifNum = cnt2 % 15;
- gifVisual.URL = _resPath + "/images/anim-gif/" + gifNum + ".gif";
- gifButton.LabelText = "file:" + gifNum + ".gif";
+ if (cnt2 % 2 == 0)
+ {
+ gifVisual.URL = _resPath + "/images/dali-logo-anim.gif";
+ }
+ else
+ {
+ gifVisual.URL = _resPath + "/images/echo.gif";
+ }
return true;
};
contentLayout.AddChild(gifButton, new TableView.CellPosition(2, 1));
Window.Instance.Add(view[i]);
view[i].FocusGained += VisualSample_FocusGained;
view[i].FocusLost += VisualSample_FocusLost;
- view[i].KeyEvent += VisualSample_KeyEvent;
+ view[i].Key += VisualSample_KeyEvent;
}
view[0].RightFocusableView = view[1];
"Enter - Change BG image\n";
Window.Instance.Add(guide);
- Window.Instance.KeyEvent += Instance_Key;
+ Window.Instance.KeyPressed += Instance_Key;
FocusManager.Instance.SetCurrentFocusView(view[0]);
- Window.Instance.TouchEvent += Instance_Touch;
+ Window.Instance.Touched += Instance_Touch;
_window = Window.Instance;
_window.FocusChanged += _window_WindowFocusChanged;
Tizen.Log.Fatal("NUI", "window focus changed!() focus gained=" + e.FocusGained);
}
- private void Instance_Touch(object sender, Window.TouchEventArgs e)
+ private void Instance_Touch(object sender, Window.TouchedEventArgs e)
{
FocusManager.Instance.SetCurrentFocusView(view[0]);
}
+++ /dev/null
-using System;\r
-using Tizen.NUI;\r
-using Tizen.NUI.UIComponents;\r
-using Tizen.NUI.BaseComponents;\r
-\r
-namespace WidgetViewTest\r
-{\r
- class Example : NUIApplication\r
- {\r
- private PushButton _widgetButton;\r
- private PushButton _deletedButton;\r
- private WidgetView _widgetView;\r
- private WidgetViewManager _widgetViewManager;\r
- private View _container;\r
- private string _instanceID;\r
-\r
- protected override void OnCreate()\r
- {\r
- base.OnCreate();\r
- Initialize();\r
- }\r
-\r
- protected override void OnTerminate()\r
- {\r
- //This function is called when the app exit normally.\r
- base.OnTerminate();\r
- }\r
-\r
- public void Initialize()\r
- {\r
- Window window = Window.Instance;\r
- window.BackgroundColor = Color.White;\r
-\r
- Tizen.Log.Debug("NUI", "### DP1");\r
- Layer layer = new Layer();\r
- layer.Behavior = Layer.LayerBehavior.Layer3D;\r
- window.AddLayer(layer);\r
- Tizen.Log.Debug("NUI", "### DP2");\r
- _container = new View();\r
- _container.ParentOrigin = ParentOrigin.Center;\r
- _container.PivotPoint = PivotPoint.Center;\r
- _container.Size2D = new Size2D(400, 400);\r
- Tizen.Log.Debug("NUI", "### DP3");\r
- _widgetButton = new PushButton();\r
- _widgetButton.LabelText = "Widget";\r
- _widgetButton.ParentOrigin = ParentOrigin.BottomLeft;\r
- _widgetButton.PivotPoint = PivotPoint.BottomLeft;\r
- _widgetButton.PositionUsesAnchorPoint = true;\r
- _widgetButton.Size2D = new Size2D(200, 100);\r
- window.Add(_widgetButton);\r
- _widgetButton.Clicked += (obj, e) =>\r
- {\r
- _widgetView = _widgetViewManager.AddWidget("widget-efl.example", "", 450, 700, -1);\r
- //_widgetView.PositionUsesPivotPoint = true;\r
- //_widgetView.ParentOrigin = ParentOrigin.Center;\r
- _widgetView.PivotPoint = PivotPoint.TopLeft;\r
- _widgetView.PositionUsesAnchorPoint = true;\r
- _widgetView.BackgroundColor = Color.Yellow;\r
- _widgetView.WidgetAdded += (sender, eargs) =>\r
- {\r
- _widgetButton.LabelText = "Quit";\r
- window.Add(_widgetView);\r
- };\r
- _widgetView.WidgetDeleted += (sender, eargs) =>\r
- {\r
- window.Remove(_widgetView);\r
- _widgetButton.LabelText = "Button";\r
- };\r
- _instanceID = _widgetView.InstanceID;\r
- return false;\r
- };\r
-\r
- _deletedButton = new PushButton();\r
- _deletedButton.LabelText = "Buton";\r
- _deletedButton.ParentOrigin = ParentOrigin.BottomRight;\r
- _deletedButton.PivotPoint = PivotPoint.BottomRight;\r
- _deletedButton.PositionUsesAnchorPoint = true;\r
- _deletedButton.Size2D = new Size2D(200, 100);\r
- window.Add(_deletedButton);\r
- _deletedButton.Clicked += (obj, e) =>\r
- {\r
- OnTerminate();\r
- return true;\r
- };\r
-\r
- layer.Add(_container);\r
- Tizen.Log.Debug("NUI", "### widget view manager create start");\r
- _widgetViewManager = new WidgetViewManager(this, "org.tizen.example.NUISamples.TizenTV");\r
- if (!_widgetViewManager)\r
- {\r
- Tizen.Log.Fatal("NUI", "### Widget is not enabled!");\r
- }\r
-\r
- Tizen.Log.Debug("NUI", "### widget view manager create sucess");\r
- }\r
-\r
- [STAThread]\r
- static void _Main(string[] args)\r
- {\r
- Example example = new Example();\r
- example.Run(args);\r
- }\r
- }\r
-}\r
-\r
<?xml version="1.0" encoding="utf-8"?>\r
-<manifest package="NUISamples.TizenTV" version="1.0.0" api-version="3.0" xmlns="http://tizen.org/ns/packages">\r
- <profile name="common" />\r
- <ui-application appid="org.tizen.example.NUISamples.TizenTV" exec="NUISamples.TizenTV.exe" multiple="false" nodisplay="false" taskmanage="true" splash-screen-display="true" type="dotnet" launch_mode="single">\r
- <label>NUISamples.TizenTV</label>\r
- <icon>NUISamples.TizenTV.png</icon>\r
- </ui-application>\r
- <shortcut-list />\r
- <privileges>\r
- <privilege>http://tizen.org/privilege/appmanager.launch</privilege>\r
- <privilege>http://tizen.org/privilege/widget.viewer</privilege>\r
- </privileges>\r
+<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="NUISamples.TizenTV" version="1.0.0">\r
+ <profile name="common" />\r
+ <ui-application appid="org.tizen.example.NUISamples.TizenTV"\r
+ exec="NUISamples.TizenTV.exe"\r
+ type="dotnet"\r
+ multiple="false"\r
+ taskmanage="true"\r
+ nodisplay="false"\r
+ launch_mode="single">\r
+ <label>NUISamples.TizenTV</label>\r
+ <icon>NUISamples.TizenTV.png</icon>\r
+ </ui-application>\r
</manifest>\r