There is not a isDoubleBuffered() method so neither emulator should let
you run code with that.
Reiterating what Jason Pollard said,
Basically the specs say that the phone manufacturers do not have to
implement
double buffering. In that case the Graphics.lock() and unlock() methods
will be ignored.
Unfortunately, neither emulator does a good job of emulating graphic
refreshes and speeds, they are usually much faster than the real thing. So
if it
flickers on your emulator it is quite possible that it is going to flicker
even worse
on the phone.
Zev
----- Original Message -----
From: "Christopher Lowery" <chris@onegoodwindow.com>
To: <keitai-l@appelsiini.net>
Sent: Tuesday, October 23, 2001 12:00 PM
Subject: (keitai-l) Re: iMode on GIF
> The method Canvas.isDoubleBuffered() should tell you if the device
> thinks it can do it. If you find out how DoJa and i-JADE respond,
> please post.
>
> -chris
> >
> "Holloway, James" wrote:
> >
> > Do i-appli handsets/emulators support double buffering, where individual
> > drawing operations are written to an off-screen memory buffer and then
> > everything is drawn at once? I have an application that uses g.lock()
and
> > g.unlock(true) during paints, but flickering is still noticeable in the
DoJa
> > and i-JADE emulator.
> >
> > James
> >
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Oct 23 07:12:08 2001