[android-developers] Re: Question about the appwidget update period

2009-10-09 Thread Thote Gowda
Mark AppWidgetProvider being a BroadcastReceiver, it can't register for AlarmManager with broadcast intent. So how to handle this. Am I missing something obvious here? How to achieve this? // Thote Gowda GR On Oct 4, 5:28 pm, "Mark Murphy" wrote: > > I need to provider an access for the user t

[android-developers] Re: Question about the appwidget update period

2009-10-07 Thread Ying Tang
Thanks very much! On 10月4日, 下午8时28分, "Mark Murphy" wrote: > > I need to provider an access for the user to customize theupdate > >period. > > But the appwidgetpoviderinfo just can be defined in XML. > > How to implement this? > > Step #1: Set updatePeriodMillis to be 0 > > Step #2: Use AlarmMan

[android-developers] Re: Question about the appwidget update period

2009-10-04 Thread Mark Murphy
> I need to provider an access for the user to customize the update > period. > But the appwidgetpoviderinfo just can be defined in XML. > How to implement this? Step #1: Set updatePeriodMillis to be 0 Step #2: Use AlarmManager (and perhaps PowerManager.WakeLock) to set up your own alarm to invo