Hello;
I am using low level API and drawing a transparent image on the screen. First I create the image with the following code:
then I draw it in the Canvas' paint(Graphics g) method by calling:Code:int [] c = new int[width*height]; for (int i = 0; i < c.length; i++) { c[i] = 0x88000000; } Image img = Image.createRGBImage(c, width, height, true);
it works fine and appears transparent on Sun Java Wireless Toolkit emulator but it is not transparent on Nokia SDK3 Symbian 0.8 emulator and on Nokia E61 device(real device).Code:g.drawImage(img , 0, 0, Graphics.TOP|Graphics.LEFT);
Any advice to fix this problem?
Thanks
Destan

Reply With Quote

