I have the camera viewfinder displaying on a canvas. I would like to overlay a png image on top of this. I have had a look at the overlay control (JSR 234) but am a little confused if that is appropriate. I think that may be for post processing overlay only. Again I am unsure. If it is for overlaying on top of the camera stream then I am also unsure how to use it. There seem to be no examples available and try as I might I can't get it to work.
If there is any other method or tips available they would be very much appreciated.
I have tried the sony method below but that doesn't work on the Nokia's I am targeting.
videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO | (overlay << 8) | (Sprite.TRANS_ROT90 << 4), canvas);
The other method that is mentioned on the web is to take continous snapshots and add the image overlay to the snapshot image and then display this to the user, the problems with this method are
2) Each snapshot causes a security pop up.
By the way all the Nokia's I am targetting are S60 FP 2 e.g. 6220 Classic so they have all high end spec JSR's such as JSR 234