xuxiuxi
2017-07-24 4f40d5eea0b9ecefa80632c53d2c6e7f5cc6c35a
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);