Hi, In my application, sometimes I need to do certain things after the current screen has been rendered, and displayed to the user.
I'm using the MessageHandler.sendEmptyMessageDelayed() strategy to create a render-loop, invalidating the screen on each message. Then all rendering is done in the onDraw()-callback. My question is, how do I know when the latest frame is displayed to the user? Can I get a callback when this happens? Or will the back- and foreground buffers be swapped some time during the onDraw()-call och right after it is finished? Right now, the best thing I've figured out for performing "post render" code, is to do it right before the next render. Is there any way to do it earlier? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

