String fileName;
private void writeFile(Bitmap bmp) {
FileOutputStream out = null;
try {
out = new FileOutputStream(name + ".jpeg");
bmp.compress(Bitmap.CompressFormat.JPEG, 90, out);
} catch (Exception e) {
e.printStackTrace();
} finally {
try{
out.close();
} catch(Throwable ignore) {}
}
}
private void readFile() {
}
Now I need to read the file. Just please help write the "readFile()" method fully depending on my code. Thank you in advance.