Hey ! I had set this to 10 seconds for testing purposes too !
Ok, so now I know why it did not work... but please DOCUMENT it ! Or
add a Warning in the emulator logcat stating what the min value is.

This does not facilitate widgets testing during development...

Thanks !


On 23 sep, 12:15, Mobidev <[email protected]> wrote:
> Here’s my take regarding updatePerdiodMillis…
>
> updatePerdiodMillis attribute defines how often the “AppWidget
> framework should request” anupdatefrom the AppWidgetProvider by
> calling the “onUpdate()” method.
>
> updatePerdiodMillis attribute does NOT affect the explicit 
> RemoteViewsupdatecalled say through AppWidgetProvider code:
> appWidgetManager.updateAppWidget(appWidgetId, views); (clock will
> continue to tick every second)
>
> Documentation - Yes this needs an “update”  as the 1.5 & 1.6 docs
> clearly lists an example of a stock ticker which is updated every 15
> minutes:
>             The updatePerdiodMillis attribute defines how often the
> AppWidgetframework should request anupdatefrom the
> AppWidgetProvider by calling the onUpdate() method. The actualupdate
> is not guaranteed to occur exactly on time with this value and we
> suggest updating as infrequently as possible—“perhaps no more than
> once an hour to conserve the battery”. You might also allow the user
> to adjust the frequency in a configuration—some people might want a
> stock ticker toupdateevery 15 minutes, or maybe only four times a
> day.

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