Answers for "How create bitmap from file in 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 create bitmap from file in android"

Browse Popular Code Answers by Language