M
M
magary42015-08-06 11:21:31
phonegap
magary4, 2015-08-06 11:21:31

Doesn't want to work navigator.camera.getPicture?

navigator.camera.getPicture(onSuccess, onFail, {
      quality : 50,
      destinationType : Camera.DestinationType.DATA_URL,
      sourceType : Camera.PictureSourceType.PHOTOLIBRARY
    });

on most devices, everything is ok, I open the gallery, I select an image and I get it in the callback, but as for evil, it’s on the customer’s device that the problem is, instead of the gallery, it opens some kind of thing, such as an application of some non-native gallery on top, and after selecting the application suspends its work.
How can I fix this bug?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question