Reputation: 821
Is it possible to capture an image using Android camera via browser with PHP or another Library for PHP? I know it can be done by phone gap, but I'm trying to do it with PHP. Because my other Project using PHP too.
Can Anyone help me to find the solution?
Upvotes: 6
Views: 15114
Reputation: 300
I found that it's possible for Android 3.0+ devices. It launches the camera, and when the picture is taken returns the the page. Source: https://stackoverflow.com/a/7811843/1536522
<input type="file" accept="image/*;capture=camera">
Upvotes: 7