When I am calling this function there is no image in image view
bitmapFactory.decodefile(filename) showing null .. please help for this.
Here is my cod
A clear explanation is given in google documentation https://developer.android.com/topic/performance/graphics/load-bitmap#java
Setting the inJustDecodeBounds property to true while decoding avoids memory allocation, returning null for the bitmap object.
as per @Jeroen VL changing options.inJustDecodeBounds = false solved the problem