Answers for "how set bitmap from File android"

2

how to get bitmap from file in android

You should be able to use BitmapFactory:

File mSaveBit; // Your image file
String filePath = mSaveBit.getPath();  
Bitmap bitmap = BitmapFactory.decodeFile(filePath);
mImageView.setImageBitmap(bitmap);
Posted by: Guest on January-07-2021

Code answers related to "how set bitmap from File android"

Browse Popular Code Answers by Language