>Update your app widget's RemoteViews when the alarm goes off. Okay no problem.
>When the alarm period changes, have your alarm-handling logic cancel the >existing alarm and schedule a new one. Okay but this is my question, how do I do this? My AppWidget's Button fires the below logic when it is pressed. AlarmManager mgr = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); Intent i = new Intent(context, OnAlarmReceiver.class); PendingIntent pi = PendingIntent.getBroadcast(context, 0, i, 0); mgr.setRepeating(AlarmManager.ELAPSED_REALTIME, SystemClock.elapsedRealtime(), 1000, pi); mgr.cancel(pi); There is no way to detect when the alarm period should change because there is no way to communicate between the Alarm's fired function and the AppWidgets non-existent state. -- 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

