title: How to sync to Android frame rate
body: <p>I'm looking for a way to synchronize some code activity to the Android display frame rate.  It's a short bit of code that will simply set the color of a small display region, nothing more.  Is there some sort of method or hook that I can exploit for this purpose?</p>
  
  <p>I can use a timer running at very fast intervals successfully but the rendering appears to suffer from aliasing with the frame rate.  For example, my frame rate is 60 Hz so if I set the timer interval to 1/60 seconds, the appearance is non-uniform.  I can't set the timer to exactly 16.666 msec and even if I could, I'd still see aliasing.</p>
  
  <p>Thanks.</p>