diff --git a/SimpleWidget/UpdateService.cs b/SimpleWidget/UpdateService.cs index 3f0cb0efd..bfe563654 100644 --- a/SimpleWidget/UpdateService.cs +++ b/SimpleWidget/UpdateService.cs @@ -32,7 +32,7 @@ public override void OnStart (Intent intent, int startId) RemoteViews updateViews = buildUpdate (this); // Push update for this widget to the home screen - ComponentName thisWidget = new ComponentName (this, "simplewidget.WordWidget"); + ComponentName thisWidget = new ComponentName (this, Java.Lang.Class.FromType (typeof (WordWidget)).Name); AppWidgetManager manager = AppWidgetManager.GetInstance (this); manager.UpdateAppWidget (thisWidget, updateViews); }