phonegap camera API does not fire SuccessCallBack mthod on Attach of caprured image

后端 未结 1 1827
终归单人心
终归单人心 2021-01-27 15:58

I am using the Phonegap API to capture an image.

Once i take the picture and attach it my success call back method is not called .

Here is how i have implement

相关标签:
1条回答
  • 2021-01-27 16:43

    this is correct behaviour of a phonegap app for security reasons.

    If you could access the camera from a webpage loaded in the Webview this would open a lot of possible security hazards.

    You have to load the camera from the local index.html file.

    Take a look in how to deploy your app on the phone und and use market place for updates.

    0 讨论(0)
提交回复
热议问题