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);
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
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
3 matches
Mail list logo