如何设置filename为系统相册路径?
var cmr = plus.camera.getCamera();
cmr.startVideoCapture( function ( p ) {
plus.gallery.save( p );
plus.io.resolveLocalFileSystemURL( p, function( entry) {
console.log( "文件路径:"+entry.fullPath );
}, function( e ) {
console.log( "读取录像文件错误:"+e.message );
} );
}, function( e ){
console.log( "失败:"+e.message );
}, {filename:"_doc/camera",index:1} );
0 个回复