sujinwen
2017-07-24 0a681611c0b0278e03e6da031c37a28d2973b7b2
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/util/SurveillancePhotoEmulateThread.java
@@ -25,11 +25,15 @@
            try {
                count ++;
                if (count < 10) {
                    String surveillancePhotoName = "/sdcard/xiuxi.jpg";//MainActivity.getInstance().getFilesDir().getAbsolutePath()
                    String surveillancePhotoName = "/system/xiuxi.jpg";//MainActivity.getInstance().getFilesDir().getAbsolutePath()
//                        +System.currentTimeMillis()+".jpg";
                    List bitmapList = new ArrayList();
                    NativeImg nativeImg = new NativeImg();
                    nativeImg.image = FileUtil.readFile(new File(surveillancePhotoName));
                    File file = new File(surveillancePhotoName);
                    if (file.exists()) {
                        System.out.println("file exisit");
                    }
                    nativeImg.image = FileUtil.readFile(file);
                    nativeImg.size = nativeImg.image.length;
                    SurveillanceQueryItem surveillanceQueryItem = new SurveillanceQueryItem();
                    surveillanceQueryItem.setNativeImg(nativeImg);