widget_service_trigger_update() return WIDGET_ERROR_PERMISSION_DENIED error

烈酒焚心 提交于 2019-12-12 06:49:21

问题


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.



来源:https://stackoverflow.com/questions/40540283/widget-service-trigger-update-return-widget-error-permission-denied-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!