Zbar integration into Android app

自作多情 提交于 2019-11-29 04:10:00
Dixit Patel

I checked the ZBar Library Example. You made a mistake.

This error occurred because you did not declare these two variables in your activity

private static final int ZBAR_SCANNER_REQUEST = 0;
private static final int ZBAR_QR_SCANNER_REQUEST = 1;

you need to declare these variables above your onCreate(..) Method.

See the ZBar Example.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!