widget_service_trigger_update() return WIDGET_ERRO

2019-09-20 17:27发布

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条回答
兄弟一词,经得起流年.
2楼-- · 2019-09-20 18:30

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.

查看更多
登录 后发表回答