How to access the iPhone's camera from Mobile safari?

How to access the iPhone's camera from Mobile Safari

  • Is there a API or way for accessing the the iPhone's camera from Mobile Safari?I want to create a application that can read barcode within the browser. Thanks in advance.

  • Answer:

    No. There's no way to do that. No web page can access internal devices. You can do however a small tiny app that its launched via mobile safari link and makes user select the barcode image and then redirect to a web page that will process (the small app will also upload). Like what http://code.google.com/p/iphone-photo-picker/ guys actually implemented (the link provides code). If you doesn't have experience with Objective C and Cocoa Touch you can create that app via http://www.phonegap.com/ like if you were creating a Web Page.

nipin 555 at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.