Languages

Menu
Sites
Language
GearS3 에서 Web Application 런타임에 위젯을 추가하는 방법 문의드립니다.

안녕하세요? 현재 기어S3 앱 개발중에 있습니다.

Web Application이며, 특정 상황에서 사용자 동작에 의한 위젯 추가가 아닌, 코드에 의한 위젯 추가가 되는 상황을 검토하고 있습니다.

가이드 문서등을 확인해본 결과 해당 경우는 찾지 못하였지만, 도움을 받을 수 있을까 해서 이곳에 문의 남깁니다.

혹시 가능하다면 Web/Native 상관없이 답변 부탁드리겠습니다.

감사합니다.

Responses

2 Replies
Iqbal Hossain

hi~ The widget application can be a standalone application, which means that it does not connect to a Web application, or it can be combined in the same package with a Web UI application. However, you cannot publish a standalone widget in the Tizen store.

When you create a widget application in the Tizen Studio, it is always first a standalone application. If you want to connect to a Web UI application, you can package the widget with a Web UI application:

  1. Create a Web UI application and the widget application.
  2. In the Project Explorer view, right-click the Web application, and select Properties > Tizen Studio > Package > Multi, and select the widget to be included in the package.
  3. Click OK.

In the following figure, the Widget widget application is packaged with the App UI application. The Widget widget application indicates this with the [with App] text.

 Follow this properly, 

https://developer.tizen.org/development/training/web-application/getting-started/creating-your-first-tizen-wearable-web-widget-application

paul jeon

Thank you for reply. :)

But, my question was about the idea that whether a widget for gear s3 can be added to widget area by programmatically at runtime.

Is there any workaround to somehow achieve it?