my dog learned polymorphism
The moose likes Applets and the fly likes Capture image from camera Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Capture image from camera" Watch "Capture image from camera" New topic

Capture image from camera

Manu Ashwath

Joined: Feb 18, 2011
Posts: 1

Hi All,

I am developing a application to capture image from webcam using JApplet. I am using eclipse helios, windows 7 and java 1.6. When i run the application in eclipse as Java Applet it works fine but when try adding it in html file using Applet tag it doesnot work.

Please help me out.

Thanks in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
While you didn't mention how the code is accessing the camera, I'll bet that it does it in a way that applets are not allowed to do for security reasons. See for the two principal ways around that; signing the applet is usually to be preferred.

For future question, please read the pages linked off of HowToAskQuestionsOnJavaRanch, particularly ItDoesntWorkIsUseless.
I agree. Here's the link:
subject: Capture image from camera
It's not a secret anymore!