Answers for "how to get file location of bit map in java"

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 to get file location of bit map in java"

Browse Popular Code Answers by Language