samedi 25 octobre 2014

Problem using Ext.device.Camera

Here is my code:


Code:



Ext.device.Camera.capture({
success: function(image) {
imageView.setSrc(image);
},
fail: function(msg){alert(msg);},
quality: 75,
width: 300,
height: 300,
destination: 'data',
source: 'camera',
encoding: 'jpg'
});

In web browser it shows me the fake photo (Sencha logo) which is an expected behavior, the problem is that same happens on Android OS. What is the problem?

I use Sencha 2.3.1 + PhoneGap to build the native App.



Problem using Ext.device.Camera

Aucun commentaire:

Enregistrer un commentaire