I'm wondering if there is anyway for drawing somethin over the videoControl. I tried using LWUIT but I can't achieve an开发者_StackOverflowy result, have anybody done somethin similar? Any help will be appreciate
Nope very few devices will support this. JSR135 camera viewfinder images seem to get drawn by the hardware external to Java, and it gets drawn over whatever you already have on the screen. Nothing you can do about it :(
If you're application user don't argue slow refresh rate I think you can use snapshot feature of VideoControl.
- Do not show preview of VideoControl (Hide, Make it's size as zero ...)
- Take snapshot from VideoControl
- Draw captured image on Canvas
- Draw something on it
- Do it repeatedly
LWUIT do not help for this issue. It's just graphical widget library on the MIDP Canvas.
精彩评论