언어 설정

Menu
Sites
Language
Template for .NET app widget

Hello,

I'm trying to create an app with a widget with .NET but the widget part of my app never show in the widget manager (trying on a wearable device emulator).

I can't find any full app example in the documention or various tizen example repositories.

I follow this documentation : https://developer.tizen.org/development/guides/.net-application/application-management/applications/widget-application

but I suspect I miss something on the tizen-manifest.xml or others conf files.

Anyone have a simple but complete example of a .NET app with working widget ?

Thx

Responses

4 댓글
Jay Cho

Hello, I also have tried to follow the document you refered.
I guess the tricky part is editting the widget application setting in the manifest file under Prerequisites.
On the manifest file, make sure you chage the `<ui-application>` to `<widget-application>`
and put the support size 2x2 `<support-size preview="WidgetSample.png">2x2</support-size>` . Otherwise the widget won't show.
Let me share the basic app you can refer. Go to github.com and move to -> "/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/WidgetSample".

(sorry for the github link address above, the comment won't let me write the full external link.. )


Just for more information, you should use ElmSharp or NUI as a UIFW for creating a widget.
You sould not use Xamarin.Forms. Xamarin.Forms is not supported for creating a widget due to the memory limitation.

 

 

Michael Demeyer

Thanks you ! This is exactly what I was looking for .

 

Thx

Damian Mehers

I just added a Widget to my Xamarin app ... all it does is launch the main app.  I had to define it in a separate DLL.  Let me know if you are still stuck and I can try to post detailed instructions.

Michael Demeyer

 

Hi,

 

If you have example of how to package ui and widget dotnet app in one tpk, it would be great. I find the cli command to build a dotnet ui/web widget package but not the one for dotnet/dotnet.