I posted this on the Samsung forum and received a response confirming the
issue and instructing that the issue had been forwarded to the proper
engineers. So, in the event this is indeed specific the Samsung Note, it
will, hopefully, be fixed -- eventually.
In the mean time I plan to work around this with something like by
synchronizing my calls to Canvas.drawBitmap and ImageButton.draw, such that
they don't happen simultaneously. Something like the below.
Thank you all for the replies.
static Integer LOCK;
static boolean isNote;
static {
LOCK = new Integer(1);
String s = android.os.Build.DEVICE;
if(s.equalsIgnoreCase("GT-N7000") ||
s.toLowerCase().equalsIgnoreCase("SGH-I717")) {
isGalaxyNote = true;
}
else {
isGalaxyNote = false;
}
}
class MyImageButton extends ImageButton {
public void draw(Canvas canvas) {
if(isGalaxyNote) {
synchronized(LOCK) {
super.draw(canvas);
}
}
else {
super.draw(canvas);
}
}
}
....
if(isGalaxyNote) {
synchronized(LOCK) {
canvas.drawBitmap(...);
}
}
else {
canvas.drawBitmap(...);
}
>
--
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