I'm working with the emulator using the debugger and I've noticed that onUpdate()
is not getting called. When I add the widget to the emulator homescreen I see my breakpoint being hit in the onReceive method. The onReceive()
method does get the android.appwidget.action.APPWIDGET_UPDATE
intent. However, the onUpdate()
method never gets called. I believe it's defined correctly.
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager,int[] appWidgetIds) {
// code that sets up remove view and updates appWidgetManager
}