我需要将文件中包含的图像转换为ByteBuffer
.
final File file = new File(Environment.getExternalStorageDirectory().getAbsolutePath(), "wakaicon.png");
try {
FileInputStream fileInputStream = null;
try {
fileInputStream = new FileInputStream(file);
} catch(FileNotFoundException e) {
Log.e("DEBUG", "[Picture Not Found]");
}
} /* Exception handling */