views:

773

answers:

3

I have a web app and I want to take photos and then upload them to a server. Can this be done with a webapp?

+4  A: 

No, webapp cannot access internal devices. Try PhoneGap to make the gap between your app and the internal devices. But that will compile an application, which need to be distrubuted via the Apple Store.

Savageman
Problem with that is it's a private beta product and I don't want the entire world knowing about it yet. Just my internal company. Thoughts?
AnApprentice
The Apple SDK allows you to install on you iPhone the application you compiled. Shouldn't be a problem. ;)
Savageman
+1  A: 

You'll be able to create 'provisioning profiles' for up to 100 different devices to directly install your apps on, without going through the App Store. The install process isn't as straightforward as calling up a URL or downloading something from the App Store, but at least you can limit distribution to specific people without revealing the existence of the app in the public App Store.

Also see http://stackoverflow.com/questions/37464/iphone-app-minus-app-store

Joost Schuur
A: 

Re. Savageman's answer, we have developed a iPhone web app that taps into the GPS and compass just fine. Not sure why he thinks the hardware is off limits to web apps...

tirinsplay
This should really be a comment as it doesn't answer the question of how to access these devices.
quoo
That's because you're using the geolocation javascript object. There is no camera javascript object.
Michael Mullany