from appwidget framework source (appWidgetService.java)
private static final int MIN_UPDATE_PERIOD = 30 * 60 * 1000; // 30
minutes
long period = p.info.updatePeriodMillis;
if (period < MIN_UPDATE_PERIOD) {
period = MIN_UPDATE_PERIOD;
}
// Thote Gowda G R
On Sep 23, 12:59 am, "nEx.Software" <[email protected]>
wrote:
> I don't see anything in the diffs document that indicates the
> AppWidget framework was even touched for1.6...
>
> On Sep 22, 12:26 pm, BoD <[email protected]> wrote:
>
> > Ahahhh!
> > Do you have any reference on this?
> > Or can anybody on the Android team confirm this?
> > (Shouldn't this be documented somewhere?)
>
> > By the way, I agree that 10 seconds was not a good idea but actually I
> > set this value to be able to test! Waiting for 30 minutes to verify
> > everything works ok is not practical ;)
>
> > BoD
>
> > On Sep 22, 9:08 pm, Streets Of Boston <[email protected]> wrote:
>
> > > Probably to save battery life. Updating every 10 secs could kill your
> > > customer's phone's battery life. :-)
>
> > > On Sep 22, 4:27 am, Thote Gowda <[email protected]> wrote:
>
> > > > Looks like there is a restriction on minimum update period (30 min)
> > > > in donut.
>
> > > > // Thote Gowda
>
> > > > On Sep 22, 1:18 pm, BoD <[email protected]> wrote:
>
> > > > > Thanks for the replies.
> > > > > I"ll try to make a canonical (as simple as possible)Widgetproject
> > > > > and start from here.
>
> > > > > BoD
>
> > > > > On Sep 22, 2:19 am, Christopher <[email protected]> wrote:
>
> > > > > > I have awidgetthat updates every hour and is working fine.
>
> > > > > > However does anyone else have the problem that on install on a1.6
> > > > > > system that their app asks for permission to phone calls and
> > > > > > storage?
> > > > > > Not a problem in 1.5, but even "Hello World" asks for it on1.6roms.
>
> > > > > > Chris
>
> > > > > > On Sep 20, 4:15 pm, BoD <[email protected]> wrote:
>
> > > > > > > Hi!
> > > > > > > I'm developing aWidgetthat updates every 10 seconds
> > > > > > > (android:updatePeriodMillis="10000").
> > > > > > > On the 1.5 emulator, as well as on my adp1, it works as expected.
> > > > > > > On the1.6emulator, my widgets are not updated. Apparently,
> > > > > > > AppWidgetProvider.onUpdate(...) is never called.
>
> > > > > > > Is there something I missed?
>
> > > > > > > Thanks a lot,
>
> > > > > > > BoD- Hide quoted text -
>
> > > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---