|
通过一遍遍测试,现已发现问题:
var FNPhotograph = api.require('FNPhotograph');
FNPhotograph.takePhoto({
quality : 'medium',
path: 'fs://FNPhotograph/01.png',
album : true
}, function(ret) {
api.toast({
msg : 'Success',
duration : 1000,
location : 'middle'
});
$("#takebtn").show();
});
这样写在ANDROID是可以拍照的,必须传path , 存储图片。
但又有一个新问题来了,拍照执行成功,但没进入相册,怎么操作呢? |
|