Thanks, Mr. Mark

More Questions.

1. AppWidget extends BroadcastReceiver.
   This meams that even *ANY* appwidget cannot guarantee from system-
kill.
   Isn't there any way to prevent time-freezing of digital clock
widget ?

2. I think that it's better to use AlarmManager than
ACTION_TIME_TICK(because receiver die) every minute.
   But there is some problem.
   If the system kill my clock widget during working AlarmManager
every minute,
   it NEVER be called onDisabled() or onDelete() method. (i.e. It can
not cancel alarm.)
   As a result, my clock widget already die by system-kill but alarm
still alive.
   Isn't there any way to cancel alarm when system kill my clock
widget.

3. For battery consumption,
   which is better between using AlarmManager and using
ACTION_TIME_TICK every minute.

-- 
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

Reply via email to