Is there a way to animate on a Home Widget?

Do not animate app widgets, unless you write you own home screen app.

You are correct that you have no way to manipulate an AnimationDrawable or an Animation to have them work with an app widget.

You are also correct that “very fast onUpdate() calls on the widget…seems awfully expensive”, because it is. Updates to app widgets involve inter-process communication, between your AppWidgetProvider and the process hosting the home screen. This system is designed for updates every 30 minutes or so, not 30 frames per second.

Leave a Comment