ZBarBuild 是负责生成so、jar的源码
- 使用了最新版本的libiconv库进行编译,版本号:1.16;下载地址: http://www.gnu.org/software/libiconv/
- 重新修改ZBar对中文的支持,并且可以解析GBK,UTF-8格式生成的二维码图片
- 使用最新的ndk-r10d进行ndk-build,支持64位cpu
项目示例
- ZBar的示例项目: https://github.com/ChenZeFengHi/zbar-android
/*
* Copyright (C) 2019 Chen Ze Feng <chenzefenghi@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/