Hi,


I am currently working on the mapping from J2ME to android. I am stuck
at a point where I need to map the concept of double buffering in J2ME
to its equivalent in Android. I know that SurfaceView would help me
achieve this. My main concern is where I need to map the
flushgraphics() method. The flushgraphics function in J2ME does the
swapping of the buffers. From what I know in Android as well we have
two buffers - back buffer and front buffer. In order to draw we first
lockCanvas() , then draw and then unlockCanvasAndPost(). I am not sure
how should I swap the buffers. Any kind of help and guidance is highly
appreciated.


Thanks,

Praj.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to