cordova - PhoneGap camera not able to confirm after capturing an image -


I'm making an app to test the capabilities of PhoneGrap so that I can use it later for larger projects Could I prepare a simple test app and try to work in the camera API that captures and displays only a picture. The strange thing is that when I press my capture button that triggers navigate.camera.getPicture () , then I can take a picture, but can not confirm the picture, so that the process is mine Returned to the app and captured me Image. All other buttons are working relatively hard, so I can cancel for example and return it to my app properly and pass the second parameter as navigate.camera.getPicture () is done. Headler).

Navigator here. Camera.getPicture (function (Yury) {/ P>

Code for handling success}} code {/ code} for handling error} {quality: 100, destination type: camera.order type.FILE_URI, encoding type: camera encoding type PNG TargetVind: 2000, TargetHyight: 2000, Correct Orientation: True, Cefofoto Album: False}};

I left destination type The duck has tried to see all the configuration parameters that have helped.

My config.xml allows these lines to be camera:

   & lt; feature name = "http://api.phonegap.com/1.0/camera" />   

My debug environment is running on Galaxy Nexus Android 4.2.1.

I also ran an app under WAPPL, which used to work as expected.

The app has Android SD on your machine Made with Phonegap Build of CC, if there is a difference in it.

Is there nothing here?

In advance thank you =)

I have a Galaxy Nexus with Android Phone 4.2 The built app was the only issue to run. I was able to solve this issue in my config.xml using the following two feature instructions:

   & Lt; Feature name = "http://api.phonegap.com/1.0/file" />   

Unfortunately, there were no errors coming from Logcat, but it seems that this is a trick. Hope it helps!

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -