For RemoteViews to have an effect, it has to be pushed into the widget with updateAppWidget.

If you do widgets updates from a service, you can either:

- Pass widgetIds into the service as intent extras;

- Call AppWidgetManager.getAppWidgetIds to get the list of widgets.

... surely there are other ways that would work too.

-- Kostya

09.05.2011 23:40, Boozel пишет:
No i dont. i cant find a way to get the appWidgetId required by it within my service when i try AppWidgetManager.getInstance(getApplicationContext()).updateAppWidget(appWidgetId, remoteView);


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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

Reply via email to