-->

widget_service_trigger_update() return WIDGET_ERRO

2019-09-20 17:55发布

问题:

I'm developing native widget application in Tizen. I want to update a widget application from UI application.

So, I find widget_service_trigger_update() API to update native widget. But widget_service_trigger_update() return WIDGET_ERROR_PERMISSION_DENIED error.

Tell me what I did something wrong please.

回答1:

I found out a something important. The widget application and UI application should be packaged together.

When UI application which are not packaged with widget application use widget_service_trigger_update(), API return 'WIDGET_ERROR_PERMISSION_DENIED'.

I verified to work well in same package. :)

Good Luck.