Skip to content

Commit

Permalink
完善zbar解析方式
Browse files Browse the repository at this point in the history
  • Loading branch information
秋逸 committed Apr 13, 2017
1 parent 6ac3f5a commit 94fd1a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RxTools-library/src/main/java/com/zbar/lib/ZbarManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
public class ZbarManager {

static {
System.loadLibrary("zbar");
// System.loadLibrary("zbar");
System.load("data/data/com.vondear.rxtools/lib/libzbar.so");
}

public native String decode(byte[] data, int width, int height, boolean isCrop, int x, int y, int cwidth, int cheight);
Expand Down

0 comments on commit 94fd1a1

Please sign in to comment.