HTML5 open iPhone or Android phone camera

11,495

I'm not sure what tool you're using, but here's the phonegap answer: http://docs.phonegap.com/phonegap_camera_camera.md.html

Share:
11,495
hooligan
Author by

hooligan

Updated on June 20, 2022

Comments

  • hooligan
    hooligan almost 2 years

    I'm currently deciding what way to build my Iphone/Android app. I just need to know how to open the iPhone/Android phone camera using HTML5/Javascript etc or whether it can even be done outside of building a native app?

  • hooligan
    hooligan almost 13 years
    That's perfect. Thanks heaps for the reply, I appreciate it.
  • Robot Woods
    Robot Woods almost 13 years
    glad I could help. you can accept the answer so that it appears as a solved question
  • siddhusingh
    siddhusingh over 11 years
    Not working for me. I am using Firefox on Android Galaxy S with 2.1
  • Robot Woods
    Robot Woods over 11 years
    the "using firefox" is the issue...phonegap will wrap your HTML in some native code (Android, iOS, etc), so you'll have an app, not a page you view in firefox