Hi Steve,

   Thanks for you advice. But i think there is no need to synchronize
the bitmap. Because onCreate() method and onDraw() method won't strive
for bitmap(I don't know whether you understand what i mean. English is
not my mother language.) So I think there won't be two thread to deal
with bitmap. Any Google guys can give me some advice? Thanks very much
for any advice.

BR
Gibson

On Apr 9, 11:05 am, Steve Oldmeadow <[EMAIL PROTECTED]> wrote:
> > So i create the Bitmap with the Config.ARGB_8888. But the result the
> > same. Pixel changed. It is quite strange.
>
> When strange things happen I always look at threading issues.  Your
> onDraw code is not re-entrant.  You could try making your onDraw re-
> entrant or synchronising access to the bitmap.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to