| | |
| | | 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);
|
| | | nativeImg.image = FileUtil.readFile(file);
|
| | | nativeImg.size = nativeImg.image.length;
|
| | | SurveillanceQueryItem surveillanceQueryItem = new SurveillanceQueryItem();
|
| | | surveillanceQueryItem.setNativeImg(nativeImg);
|