[android-developers] Re: Updating a unique AppWidgetProvider from a Service

2010-01-14 Thread theSmith
No problem, heres how I did it. AppWidgetManager manager = AppWidgetManager.getInstance(this); RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.widgetlayout); views.setTextViewText(R.id.TextView_Body, hello world); appWidgetManager.updateAppWidget(appWidgetId, views);

[android-developers] Re: Updating a unique AppWidgetProvider from a Service

2010-01-13 Thread Lyndon
Hi I have the same problem so thanks very much for the post... Could you explain how the onHandleIntent method works please. I have the appWidgetId in the service so I just need the way to update that specific widget. Any help would be very much appreciated. Regards Lyndon On Jan 3, 4:17 

[android-developers] Re: Updating a unique AppWidgetProvider from a Service

2010-01-03 Thread theSmith
To follow up on my own question, heres how I did it. I went from a service to an IntentService and in the onHandleIntent (Intent intent) I handle the update requests. To get the individual id's I put them as an extra in the intent in the onRecieve() method in the widget, then fire them off to