How do I take a picture with phone camera


I’m working on a small web app where I’d like te user to take a picture with their phone and tag it, before the app automatically uploads it.

I’m thinking a js script in Hype that takes the picture with the build-in camera app, displays it in the app, allows the user to tag it with some preset tags options and automatically uploads it to my server. One library that seems to do this is WebcamJS, but I’m not strong in scripting and therefore not sure how to use it in Hype…

Have anyone tried here and can tell me how do I do this?


(strmiska) #2

i used this a long time ago. it only works with cordova.js and phonegap.
try, if you can rewrite the code for browsers. (60,2 KB)


Thank you very much, it’s a great startingpoint for me