On Wed, Feb 23, 2011 at 5:35 PM, Jake Colman <[email protected]> wrote: > Is there a difference in how I find my appwidget for updating because I > switched to an IntentService?
No. > In my onHandleIntent() method I am creating my RemoteViws object and > updating the appwidget as follows: > > RemoteViews remoteViews = new RemoteViews(this.getPackageName(), > R.layout.widget); > ComponentName thisWidget = new ComponentName(this,ZMAppWidget.class); > AppWidgetManager manager = AppWidgetManager.getInstance(this); > manager.updateAppWidget(thisWidget, remoteViews); > > Any reason why this would be incorrect? If your AppWidgetProvider is not named ZMAppWidget, this will not work. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

