mHandler.postDelayed(mDrawCube, 1000 / 25);
This posts a redraw, delayed by the rate of 25 frames per 1000 milliseconds.
Change the "1000/25" to "60 * 1000" (60 seconds per minute, 1000
milliseconds per second).
-- Kostya
20.02.2011 13:15, Boozel пишет:
Hi i'm creating a live wallpaper using the example here
http://developer.android.com/resources/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/CubeWallpaper1.html
My live wallpaper only needs to be redrawn about every minute. how
would i change the redraw rate in the above example?
Thanks very Much for any help.
--
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
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
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