Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BitmapFactory.decodeFile();
- private File TEMP_PHOTO_FILE = new File(Environment.getExternalStorageDirectory(), "temp_photo.jpg");
- Bitmap thePhoto = BitmapFactory.decodeFile(Uri.fromFile(TEMP_PHOTO_FILE).toString());
- Bitmap thePhoto = BitmapFactory.decodeFile(TEMP_PHOTO_FILE.getAbsolutePath().toString());
Add Comment
Please, Sign In to add comment