> It seems like
> the *only* way a widget can be updated is upon its interval, or when
> the user interacts with it.

That is is incorrect.

> Is there any way to update a widget upon a system event?

The same way you update a widget any other time -- call updateAppWidget()
on your AppWidgetManager.

Here is a sample application that updates a widget either due to the
updateTimeMillis value or due to a user clicking a refresh button on the
widget itself:

http://github.com/commonsguy/cw-advandroid/tree/master/AppWidget/TwitterWidget/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to