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
Be sure that in your options (BitmapFactory.Options) the InJustDecodeBounds is set to false or otherwise it will return null. This can be set to true when you just want the file to be decoded but you don't need it further in your code. This way no extra memory needs to be allocated. See here for more explanation.