Open Camera programatically from web application

I was wondering if there is a way to open the camera automatically from asp.net web application browsed on the Android tablet.

I am using the input tag like this..

input type="file" accept="capture=camera" id="camera" runat ="server"

With this, If i click on choose file button, I am getting options like camera and the user needs to click the camera option to open the camera. I would like to do that programatically.

I don't want the user to click anything. Everything i would like to do in my code.

Idea being, In my timer i want to check a variable and based on that value, i want to open the camera through my code.

Do you think it is possible?

P.S: This application will be browsed from tablets. Mostly android.

Appreciate the help
 Thanks
shahjagatAsked:
Who is Participating?
 
COBOLdinosaurCommented:
Not going to happen.  That is a user control and it is called that because it belongs to the user.  Would you use a device that let someone control it remotely without your permission?

Cd&
0
 
shahjagatAuthor Commented:
Hello COBOLdinosaur,

  Thank you. Just wanted to confirm that.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.