This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, Iam using a Canvas to display the view of the camera. I use the USE_DIRECT_VIDEO mode in the initDisplayMode method of the video control. I wanted to draw a circle in the center of the display. When the camera starts i cannot see the circle anymore. Is it possible to draw something on top of the camera view ??? can this be done by using a Form ??? any comments or suggestions will be helpful. [ April 12, 2004: Message edited by: Punit Raizada ]
Everything that can go wrong will go wrong -Murphy
I don't think you can do that using a form. What you could do, however, if the image coming from the camera is considered or can be changed to be a mutable image, you can obtain its Graphics object (Image.getGraphics()) and then draw on the Graphics object. However, that could add up to alot of Graphics objects.
Joined: Mar 20, 2004
Thnx for the response tried that .. however wasnt able to keep refreshing the Image object at a good rate (atleast not on the emulator .. i dont have a device right now).. any other suggestions or ideas ?