Invoke phone camera in file-upload box

I am thinking about uploading camera pics via web on mobile phones.

It would be much better if by somehow we can invoke the phone’s camera when clicked on fiile upload.

<input type="file" name="cameraphoto">

Clicking on the button would help to take a snapshot and upload it.

Any ideas for the HTML?

You need a lot more than HTML for this to work. Are you a programmer? If not, there are plenty of apps that do this sort of thing, like Instagram.

I don’t know much about native apps. But I can program Javascripts.
I think - http://developers.mobile.conduit.com/Reference/platform/camera/captureImage.aspx will be useful.