I’m using the Phonegap plugin to take a picture and/or to get a picture from the camera roll and display it, in a similar fashion to the svyMobile demo. I’ve got the app running on my iPhone through Safari but haven’t had any luck getting the camera to work. I imagine the problem is with my permissions and so I was wondering if anyone has a way to request camera permissions from within my application.
Did you generated the app with Phonegap Build? I think you need to include the URL of your Servoy app in an iframe in an index.html and also a config.xml file where you say Phonegap what mobile services you will use from your app. At least that´s what we did, based on the Demo Patrick did at SW2015.
Just running a web app in the mobile will not give you access to the native hardware.
I hadn’t started the app with Phonegap Build, i’ll take a look at that now, I’d heard somewhere about the config.xml, that’s where I include the permissions, if i’m not mistaken.