So how about getting your AppWidgetProvider or your BroadcastReciever to pick up "android.intent.action.TIME_TICK". This way widgets can update as often as every minute if they so wish?
// Manifest file <intent-filter> <action android:name="android.intent.action.TIME_TICK" /> </intent-filter> // AppWidgetProvider/Broadcast reciever @Override public void onReceive(Context context, Intent intent) { final String action = intent.getAction(); if(intent.getAction().equals(Intent.ACTION_TIME_TICK)) { // Do something } } Any thoughts? On Oct 23, 2:44 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Sterling Udell wrote: > > 2009/10/23 Tom Gibara <m...@tomgibara.com> wrote: > > >> But presumably the alarm for updatePeriodMillis will be owned by a system > >> process and > >> will therefore be immune to the task killers. > > > In my experience, that's exactly right, hence its usefulness as a > > backup for my own alarm. > > Aaaaaaaaah. Good point. > > Clearly, therefore, we need to create an app widget that is a task > killer killer... ;-) > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Development Wiki:http://wiki.andmob.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---