File storageDir = new File(
Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_PICTURES
),
"FitMi"
);
File imageFile = new File(storageDir.getPath(), "test.jpg");
Bitmap bitmap = BitmapFactory.decodeFile(imageFile.getAbsolutePath());
沒有留言:
張貼留言