Here the report contain the path(pathname in sdcard in string format)
File dir = Environment.getExternalStorageDirectory(); File yourFile = new File(dir, rep
You can try this.
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); ... byte[] byteArray = byteArrayOutputStream.toByteArray(); base64Value = Base64.encodeToString(byteArray, Base64.DEFAULT);