Minimal Android widget, APPWIDGET_DELETED and APPWIDGET_DISABLED intents never being received

前端 未结 1 994
深忆病人
深忆病人 2021-01-21 09:11

I have a problem very similar to those that have been asked before, but not exactly the same. References: 1, 2, 3, 4

I have coded up a minimal Android widget, and the

相关标签:
1条回答
  • 2021-01-21 09:50

    An AppWidgetProvider needs to be exported, so that the core OS process that coordinates app widgets (between hosts and providers) can talk to it. Hence, android:exported="false" is inapropos.

    To be honest, I would have expected nothing to work with the provider, rather than only some events.

    0 讨论(0)
提交回复
热议问题