Load Bitmap From Sd Card Don't Work
I have some problem show images from sd card, i try to load bitmap into imageview. This is the code to load image: BitmapFactory.Options options = new BitmapFactory.Options()
Solution 1:
Try this inside your code:
BitmapFactory.Optionsoptions=newBitmapFactory.Options();
options.inPreferredConfig = Bitmap.Config.ARGB_8888;
BitmapYourBitmap= BitmapFactory.decodeFile(YourImagePath, options);
File Read Permission:
<uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE" />
Post a Comment for "Load Bitmap From Sd Card Don't Work"