Page 1 of 1

launching camera from web view?

Posted: Sat Dec 20, 2014 11:53 pm
by arron

I am using:
var ref = window.open('http://mydomain.com/page.php', '_self', 'location=yes');

to open a browser window in my appery app

i wonder if i can (on page.php on my website) add any code to launch the device camera?


launching camera from web view?

Posted: Sun Dec 21, 2014 7:09 am
by Illya Stepanov

Hi Arron,

You can use HTML5 Media Capture now in modern browser, please check out this article:
:: http://www.html5rocks.com/en/tutorial...

I should also point out that you don't need to do anything special with your php form in order to store the image...it acts just like a standard file upload input in a browser.