I think the behavior changed along the way and that the docs are out of date.

On Sun, Oct 24, 2010 at 6:02 AM, Alex <[email protected]> wrote:
> In the SDK documentation, it states that when you have a Configuration
> Activity, the widget OnUpdate() will NOT be called the first time:
>
> "The onUpdate() method will not be called when the App Widget is
> created (the system will not send the ACTION_APPWIDGET_UPDATE
> broadcast when a configuration Activity is launched). It is the
> responsibility of the configuration Activity to request an update from
> the AppWidgetManager when the App Widget is first created. However,
> onUpdate() will be called for subsequent updates—it is only skipped
> the first time."
>
> From my debugging, this does not seem to be true.  OnUpdate() is
> called a soon as I add a widget, before the configuration activity is
> started.
>
> Has anyone else noticed this?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.2 Programming 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

Reply via email to