Skip to content

二维码扫描错误 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wjf2255 opened this issue Sep 5, 2014 · 1 comment
Open

二维码扫描错误 #1

wjf2255 opened this issue Sep 5, 2014 · 1 comment

Comments

@wjf2255
Copy link

wjf2255 commented Sep 5, 2014

在使用二维码时发生错误,错误信息是-3(机型是红米note)。文档中没有关于错误类型的介绍以及相关的修改方案,想了解一下错误代码-3是什么意思,以及应该如何修改。
BlendAPI使用代码如下:

    blend.lightInit({
            ak:"",
            module:["geolocation","qr","socialshare","media"]
    });

    $("#geekschool").click(function() {
            Blend.device.qr.startCapture({
                    onsuccess:function(data){
                            $("#geekimg").fadeIn(3000);     
                            alert("success");
                    },
                    onfail:function(err) {
                            alert("error:"+err);
                    },
                    type:Blend.device.QR_TYPE.QRCODE
            });     
    });
@yudong22
Copy link
Contributor

yudong22 commented Sep 9, 2014

hi 错误码 -3的意思是运行环境不存在,你可以根据出错点击确定,进入轻应用模式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants