|
@ -47,7 +47,13 @@ mui.plusReady(function() {
|
47
|
47
|
var c = plus.camera.getCamera();
|
48
|
48
|
c.captureImage(function(e) {
|
49
|
49
|
plus.io.resolveLocalFileSystemURL(e, function(entry) {
|
50
|
|
|
|
50
|
var filPage = plus.webview.getWebviewById('../html/fillinfo.html');
|
|
51
|
var dyPage = plus.webview.currentWebview();
|
|
52
|
if(dyPage == filPage) {
|
|
53
|
var imgvar = '<img src="' + entry.toLocalURL() + '" style="width:100%"/>';
|
|
54
|
//console.log(imgvar)
|
|
55
|
document.getElementById('imgshow').innerHTML = imgvar;
|
|
56
|
}
|
51
|
57
|
mui.openWindow({
|
52
|
58
|
url: '../html/picture-upload.html',
|
53
|
59
|
id: 'html/picture-upload.html',
|