2

I'm working on a widget and I have a default update interval, but I want the user to be able to change that interval, can I modify the updatePeriodMillis from the code? or I have to use the AlarmManager?

Many thanks!

Ciprian
  • 2,879
  • 3
  • 28
  • 28

1 Answers1

4

can I modify the updatePeriodMillis from the code?

No, sorry.

or I have to use the AlarmManager?

Yes.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491