Hello,

I am trying to display a mouse cursor in rowboat. In the file
windowmanagerservice.java I have replaced the cursor drawing code with the
following lines to draw a png instead of the default cursor.

Bitmap _scratch = BitmapFactory.decodeFile("arrow.png");
mCanvas.drawColor(0x0);
mCanvas.drawBitmap(_scratch, 0, 0, null);

When this cursor is drawn on the Graphics overlay, it's blending
happens properly and I get to see the expected cursor image. The cursor
image has a proper alpha channel.

When I start playing some video(with overlays enabled) and when graphics
plane is on top with transparent background, the mouse cursor image displays
with a black color patch around it, over the video display area. This
suggests that the alpha blending for the mouse image is not happening
properly in this case.

Can I get some hints as to what would be wrong in this case?

regards
-Nitin

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to